Skip to content
Advertisement

Tag: compiler-optimization

How to Disable V8’s Optimizing Compiler

I’m writing a constant-time string comparison function (for node.js) and would like to disable V8’s optimizing compiler for this single function; using command-line flags are out of the question. I know that using a with{} (or try/catch) block will disable the optimizing compiler now, but I’m afraid this “feature” (bug) will be fixed in future versions. Is there an immutable

Advertisement