aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-11-12 16:49:52 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-11-12 16:49:52 -0800
commitc017b0119fa1054d09d862b9be85af62b0a7ab43 (patch)
treea98c35a2ad88002ceb1fbf4eb74c3b309d812024 /src
parent37becc579e59c1874d8a4d2429cbb7ed1b3321fe (diff)
comment
Diffstat (limited to 'src')
-rw-r--r--src/settings.js7
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