29d4c85ca0
version 1.999.123rc6
ambrop7
2012-08-04 12:50:01 +00:00
967510d152
ncd: NCDInterpBlock: Use a trie instead of hash table to lookup statements by name. It is much faster, and makes programs run around 10% faster.
ambrop7
2012-08-04 12:12:08 +00:00
bad183475e
ncd: NCDInterpBlock: speed up statement lookups by using precomputed hashes
ambrop7
2012-08-04 09:55:24 +00:00
d18f1246ea
structure: CHash: add option to indicate entry hashes can be obtained efficiently, and use this to speed up lookups.
ambrop7
2012-08-04 09:53:13 +00:00
ba74a496c1
version 1.999.123rc5
ambrop7
2012-08-03 19:29:31 +00:00
a4e6b1deff
ncd: NCDObject: NCDObject_ResolveVarExprCompact(): allow names to be NULL if num_names is 0
ambrop7
2012-08-03 18:35:03 +00:00
ff16a3b8f3
ncd: store objecte names as strings one after another, instead of with arrays of pointers
ambrop7
2012-08-03 18:28:57 +00:00
3d71336ec3
ncd: store variable names as strings one after another, instead of with arrays of pointers. Also make NCDObject_ResolveObjExprCompact() take size_t not int, to be consistent with the newly added NCDObject_ResolveVarExprCompact().
ambrop7
2012-08-03 17:48:45 +00:00
7e22cd7a6b
ncd: small optimization
ambrop7
2012-08-03 15:32:58 +00:00
d25c2e8746
ncd: optimize replacing placeholders in statement arguments by preparing replacement instructions in advance
ambrop7
2012-08-03 15:11:13 +00:00
92f30f6bae
version 1.999.123rc4
ambrop7
2012-08-03 00:20:56 +00:00
60249f255b
ncd: improve how arguments are instantiated. Keep the incomplete arguments in NCDValMem's, but containing placholder values in place of variables. When the arguments need to be instantiated, the entire NCDValMem is byte-copied, and the placeholders are replaced in-place with real values. This removes the NCDInterpValue stuff, and is slightly faster.
ambrop7
2012-08-03 00:19:59 +00:00
c238b14987
ncd: Use strlen+memcpy to build type names for method calls instead of snprintf(). This makes the turing machine example run ~10% faster.
ambrop7
2012-08-02 10:30:59 +00:00
550b936ff9
compile with PathScale compiler
ambrop7
2012-08-01 20:38:27 +00:00
60c16ced9b
version 1.999.123rc3
ambrop7
2012-07-29 12:08:10 +00:00
8f808a6624
ncd: use BAllocThreeArrays() to allocate all process memory in a single allocation. Gives a small performance improvement.
ambrop7
2012-07-29 12:05:21 +00:00
c4017da109
INSTALL-WINDOWS: openssl compiles fine without "no-asm". Add note that prebuilt versions of libraries are available.
ambrop7
2012-07-24 11:41:02 +00:00
406695215a
version 1.999.123rc1
ambrop7
2012-07-24 11:05:25 +00:00
3aefca3015
examples: bavl_test, savl_test: remove remaining entries after random removal
ambrop7
2012-07-22 14:36:31 +00:00
48ce9a8148
structure: CAvl: rename CAVL_PARAM_VERIFY to CAVL_AUTO_VERIFY, because it's meant to be used globally rather than as a parameter
ambrop7
2012-07-22 14:18:35 +00:00
21342ed122
examples: bavl_test: synchronize with cavl_test (remove dead code and add explicit verification)
ambrop7
2012-07-22 14:10:13 +00:00
3cacf187d3
structure: BAVL: add BAVL_Verify(), and make verification asssertion forced so it can be used when assertions are disabled
ambrop7
2012-07-22 14:08:20 +00:00
b4a52f1a7a
structure: add SAvl, a wrapper around CAvl assuming links are pointers
ambrop7
2012-07-22 14:06:53 +00:00
3f217dcf13
tun2socks: fix typo which might cause a crash if tcp_close() failed due to out of memory (theoretical bug only). Found with the help of clang static analyzer.
ambrop7
2012-07-19 14:33:42 +00:00
d95c751389
ncd: NCDModule: make interpreter-side process functions call the process creator callbacks directly, and remove a bunch ofstates made redundant
ambrop7
2012-07-14 00:50:31 +00:00
e80d8295a3
ncd: modules: foreach: use int's instead of size_t's for statement indices
ambrop7
2012-07-11 11:59:03 +00:00
5f55691f04
version 1.999.122rc2
ambrop7
2012-07-06 01:09:35 +00:00
698c757010
ncd: NCDConfigTokenizer: recognize Foreach and As tokens
ambrop7
2012-07-05 23:58:52 +00:00
26f540c955
ncd: modules: foreach: implement iteration over maps, add foreach_emb() to be used in the Foreach clause impementation
ambrop7
2012-07-05 23:54:48 +00:00
0e337dfb8a
ncd: modules: spawn: implement _caller in called process, implement spawn::join(), port to new instance allocation method
ambrop7
2012-07-05 23:53:11 +00:00