Replies: 1 comment
-
Idea sounds great but impossible. First you must understand how
First is calculated segment index (stored in variable |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Class
sfl::segmented_vector
At the moment: "Indexed access to elements (operator[] and at) must perform two pointer dereferences."
A performance improvement can be obtained with this change: perform indexed access to elements with one pointer dereference when in the same block.
E.g.:
This allows to get better performance when accessing data located in close memory locations.
Beta Was this translation helpful? Give feedback.
All reactions