diff options
-rw-r--r-- | src/settings.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/settings.js b/src/settings.js index c5894b87..092822e9 100644 --- a/src/settings.js +++ b/src/settings.js @@ -52,9 +52,10 @@ USE_FHEAP = 1; // Relevant in USE_TYPED_ARRAYS == 1. If this is disabled, only I // not generated at all. This is useful if your code is 100% ints without floats or doubles I64_MODE = 0; // How to implement 64-bit integers: // 0: As doubles. This will work up to about 53 bits. - // 1: As [low, high]. This will support all 64 bits for bit ops, etc., but not full math. - // TODO: reuse these arrays/escape analysis to avoid GC - // 2: Full bignum support. TODO + // 1: As [low, high]. This will support all 64 bits for bit ops, etc. properly, but will still + // use doubles for addition etc., like mode 0. This mode is slower than + // mode 0, so its only benefit is proper support for 64 bit bitops. + // TODO: Full bignum support SKIP_STACK_IN_SMALL = 1; // When enabled, does not push/pop the stack at all in // functions that have no basic stack usage. But, they |