-
Notifications
You must be signed in to change notification settings - Fork 985
perf: remove an indirection in JumpTable #2437
Copy link
Copy link
Closed
Description
JumpTable is currently defined as Arc<BitVec>:
| pub struct JumpTable(pub Arc<BitVec<u8>>); |
However this setup occurs 2 indirections per lookup, once for the Arc, once for the BitVec (pointer to pointer to bits)
Investigate if we can change this to Arc<BitSlice> or something similar, where the Arc pointer itself is the pointer to the bits
This would require making the field private and exposing more methods for creating the jumpmap and accessing properties
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels