3 ms·
How do you prevent the compiler optimizing constant-time operations into non-constant time?
by TheLoneWolfling 13y ago
How do you prevent the compiler optimizing constant-time operations into non-constant time?
- Guvante 13y agoYou would want to specify a version of GHC and optimization flags, then it would just involve code analysis of your output. Likely this work would be necessary to "prove" (not in the strict form) your assumptions about constant-time anyway.