ambrop7
|
5ea5a974f1
ncd: NCDInterpProg: lookup processes by string ids
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
5906ca507d
ncd: cosmetic changes
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
55cc25ed3e
ncd: NCDModule: get rid of struct NCDModuleInitParams in favor of struct NCDModuleInst_iparams
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
7e29861b10
ncd: NCDObject: store object type as a string identifier instead of char pointer
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
5e10dff851
oops, we need to make struct NCDModule non-const, not struct NCDModuleGroup. So revert previous commit.
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
8ed78cb35d
ncd: make NCDModuleGroup structs non-const (for next commit which will need to modify them)
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
de8f155c29
ncd: NCDInterpProcess: store statement names as id's and use a hash table not trie to look for them
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
2ed52dc607
cosmetic changes
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
a157cf9829
ncd: use unique string identifiers when resolveing variable/object names. The goal is to improve
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
a3ea934a96
ncd: NCDModule: don't store a pointer to struct NCDModuleInst_iparams in NCDModuleInst. Instead, store it in struct
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
9a7f7e0e1c
ncd: NCDModuleInst: don't store a user pointer (to the struct statement), and instead pass a pointer to NCDModuleInst to
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
826ebc98b5
ncd: ncd.c: don't store a pointer to the process in every statement. Instead, compute it from the statement index.
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
f28490976e
ncd: ncd.c: merge the state and have_error members into a single member
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
590f394096
ncd: ncd.c: save memory by not storing pointer to and size of preallocated process memory. Instead, to figure out if statement
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
da424e04ab
system: BReactor: don't store a callback void pointer in BSmallTimer, instead just pass the BSmallTimer pointer to the
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
3e66decc2b
ncd: use BAlloc and BSizeAdd/BSizeAlign to allocate process memory, and use a flexible array member for statements
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
be82ff9462
ncd: ncd.c: use BSmallPending instead of BPending
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
fc56e70160
ncd: ncd.c: use BSmallTimer instead of BTimer to save 8 bytes per process
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
52e2fa7766
dhcpclient: use BRandom2 instead of BRandom_randomize. This removes the OpenSSL dependency from NCD.
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
2da1df12c9
ncd: ncd.c: remove redundant declaration
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
a884f1a147
ncd: ncd.c: make global variables static
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
a8bd125944
ncd: ncd.c: rename variable
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
30d5552546
ncd: NCDInterpProcess: don't depend on NCDProcess to exist after being initialized
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
5445332b8b
ncd: ncd.c: remove unneeded argument in process_new()
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
9f9d4bae9e
NCDInterpProg: make NCDInterpProg_FindProcess() only return an NCDInterpProcess.
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
18a9a5b7bc
ncd: NCDInterpBlock: rename to NCDInterpProcess
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
0ef729228f
ncd: speed up module lookup when initializing statements. For non-method statements, cache the module pointer in NCDInterpBlock. For
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
ff16a3b8f3
ncd: store objecte names as strings one after another, instead of with arrays of pointers
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
3d71336ec3
ncd: store variable names as strings one after another, instead of with arrays of pointers. Also make
|
%!s(int64=13) %!d(string=hai) anos |
ambrop7
|
7e22cd7a6b
ncd: small optimization
|
%!s(int64=13) %!d(string=hai) anos |