Commit Graph

3 Commits

Author SHA1 Message Date
Siarhei Fedartsou
64b84fbe0a Add benchmarks comparison job 2024-05-11 21:39:37 +02:00
Siarhei Fedartsou
8dbc85fab7 Add benchmarks comparison job 2024-05-11 21:03:20 +02:00
Patrick Niklaus
6bd724fe24 Rewrite packed vector to also allow random access
This fixes issues #3952. The new approach pre-computes masks for fast
access. Since elements can potentially span multiple words we need masks
and offsets for each upper and lower word.

Due to a bug in the C++14 standart the mask computation is not
recognized as constexpr, but would work on C++17.
2017-05-16 10:25:29 +00:00