-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.nims
29 lines (22 loc) · 941 Bytes
/
config.nims
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
switch("threads", "on")
switch("threadAnalysis", "off")
switch("define", "nimAllocStats")
# make system.delete strict for index out of bounds accesses.
switch("define", "nimStrictDelete")
switch("deepcopy", "on")
# Dot-like operators (operators starting with `.`, but not with `..`)
# now have the same precedence as `.`, so that `a.?b.c` is now parsed as
# `(a.?b).c` instead of `a.?(b.c)`.
switch("define", "nimPreviewDotLikeOps")
# Enable much faster "floating point to string" operations that also
# produce easier-to-read floating point numbers.
switch("define", "nimPreviewFloatRoundtrip")
#switch("define", "nimArcDebug")
#switch("define", "traceCollector")
#switch("define", "nimArcIds")
# may as well leave this on since it doesn't work in refc
switch("gc", "arc")
# default to enable debugging for now
switch("define", "loonyDebug")
# Now that I've added a counter for node allocations should this be disabled
# by default?