This PR is an alternative to #617. It contains less changes and better deals with dense indexes.
The FunctionRegistry data structure has been changed to accept dense indexes in a predefined range. As we may have unregistered functions in dense indexing as well, using the Btree is advantageous because it obviates the tombstone syscall. If a syscall is deactivated, it is simply not present in the tree.
This PR is an alternative to #617. It contains less changes and better deals with dense indexes.
The
FunctionRegistry
data structure has been changed to accept dense indexes in a predefined range. As we may have unregistered functions in dense indexing as well, using the Btree is advantageous because it obviates the tombstone syscall. If a syscall is deactivated, it is simply not present in the tree.