-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area/perfenhancementFeature requests. Not bugs or questions.Feature requests. Not bugs or questions.help wantedNeeds help!Needs help!
Description
Right now if we want an O(1) header it has to be added to the core header map. This is unfortunate for extension writers who might want this perf boost but either can't add it due to private code, or as we move away from having extensions modify the core code in any way, will be blocked from adding it.
I believe it should be possible to allow extension O(1) headers to be added. A rough implementation outline is:
- Allow the struct of O(1) headers to be variable sized and zero initialized.
- Each O(1) header is statically registered with a handle and a slot index into the array, as well as the lookup trie.
- Allow extensions to statically register and get their own slot.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/perfenhancementFeature requests. Not bugs or questions.Feature requests. Not bugs or questions.help wantedNeeds help!Needs help!