ambrop7
|
826ebc98b5
ncd: ncd.c: don't store a pointer to the process in every statement. Instead, compute it from the statement index.
|
13 年之前 |
ambrop7
|
f28490976e
ncd: ncd.c: merge the state and have_error members into a single member
|
13 年之前 |
ambrop7
|
590f394096
ncd: ncd.c: save memory by not storing pointer to and size of preallocated process memory. Instead, to figure out if statement
|
13 年之前 |
ambrop7
|
da424e04ab
system: BReactor: don't store a callback void pointer in BSmallTimer, instead just pass the BSmallTimer pointer to the
|
13 年之前 |
ambrop7
|
3e66decc2b
ncd: use BAlloc and BSizeAdd/BSizeAlign to allocate process memory, and use a flexible array member for statements
|
13 年之前 |
ambrop7
|
be82ff9462
ncd: ncd.c: use BSmallPending instead of BPending
|
13 年之前 |
ambrop7
|
fc56e70160
ncd: ncd.c: use BSmallTimer instead of BTimer to save 8 bytes per process
|
13 年之前 |
ambrop7
|
52e2fa7766
dhcpclient: use BRandom2 instead of BRandom_randomize. This removes the OpenSSL dependency from NCD.
|
13 年之前 |
ambrop7
|
2da1df12c9
ncd: ncd.c: remove redundant declaration
|
13 年之前 |
ambrop7
|
a884f1a147
ncd: ncd.c: make global variables static
|
13 年之前 |
ambrop7
|
a8bd125944
ncd: ncd.c: rename variable
|
13 年之前 |
ambrop7
|
30d5552546
ncd: NCDInterpProcess: don't depend on NCDProcess to exist after being initialized
|
13 年之前 |
ambrop7
|
5445332b8b
ncd: ncd.c: remove unneeded argument in process_new()
|
13 年之前 |
ambrop7
|
9f9d4bae9e
NCDInterpProg: make NCDInterpProg_FindProcess() only return an NCDInterpProcess.
|
13 年之前 |
ambrop7
|
18a9a5b7bc
ncd: NCDInterpBlock: rename to NCDInterpProcess
|
13 年之前 |
ambrop7
|
0ef729228f
ncd: speed up module lookup when initializing statements. For non-method statements, cache the module pointer in NCDInterpBlock. For
|
13 年之前 |
ambrop7
|
ff16a3b8f3
ncd: store objecte names as strings one after another, instead of with arrays of pointers
|
13 年之前 |
ambrop7
|
3d71336ec3
ncd: store variable names as strings one after another, instead of with arrays of pointers. Also make
|
13 年之前 |
ambrop7
|
7e22cd7a6b
ncd: small optimization
|
13 年之前 |
ambrop7
|
d25c2e8746
ncd: optimize replacing placeholders in statement arguments by preparing replacement instructions in advance
|
13 年之前 |
ambrop7
|
60249f255b
ncd: improve how arguments are instantiated. Keep the incomplete arguments in NCDValMem's, but containing placholder values in place
|
13 年之前 |
ambrop7
|
984025f84d
ncd: cosmetic changes
|
13 年之前 |
ambrop7
|
b58e03f725
cosmetic changes
|
13 年之前 |
ambrop7
|
c238b14987
ncd: Use strlen+memcpy to build type names for method calls instead of snprintf(). This makes the turing machine example run ~10%
|
13 年之前 |
ambrop7
|
d3bd13f229
ncd: remove process_rap() and instead add process_have_child()
|
13 年之前 |
ambrop7
|
c59047d273
ncd: small memory optimization
|
13 年之前 |
ambrop7
|
687ec94f2b
cosmetic changes
|
13 年之前 |
ambrop7
|
224a3a4da6
ncd: cosmetic changes
|
13 年之前 |
ambrop7
|
08845d48a9
cosmetic changes
|
13 年之前 |
ambrop7
|
8f808a6624
ncd: use BAllocThreeArrays() to allocate all process memory in a single allocation. Gives a small performance improvement.
|
13 年之前 |