better smosym desc
This commit is contained in:
parent
560ac9e29e
commit
3bee2537bd
12
main.c
12
main.c
@ -11,13 +11,15 @@ symptr nopsym(SLC_SYM_OP op, slc_tmp_charptr key, symptr ptr) {
|
||||
ret.worp = NULL;
|
||||
return ret;
|
||||
// TODO: Create a "peasantly" symbol table where we have:
|
||||
// - length
|
||||
// - previndex
|
||||
// - nextindex
|
||||
// - 32 length
|
||||
// - 32 previndex
|
||||
// - 32 nextindex
|
||||
// - char* name inline stored
|
||||
// - padding (divisible by 4)
|
||||
//
|
||||
// Then I can do a lookup basically via strstr
|
||||
// and check validity by jumping back&forth a bit.
|
||||
// Then I can do a lookup basically via strstr-like (but 4byte steps!)
|
||||
// with first few characters zero-padded in the search term parameter
|
||||
// and if you want check extra validity by jumping back&forth in it.
|
||||
}
|
||||
|
||||
uint32_t nopstack(SLC_STACK_OP op, uint32_t param) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user