v8/test/unittests/utils
Clemens Backes 11de0762dc [utils] Improve BitVector performance
Avoid most of the {is_inline()} checks by having a {data_begin_} pointer
which either points at the inline storage or at the zone-allocated
memory.
This replaces a dynamic branch by a memory indirection, which is
beneficial for big (non-inline) BitVectors. For small BitVectors we will
have to see what the bots say; the hypothesis is that a memory load is
still faster than a dynamic branch.

Apart from better performance, this change allows for simpler code in
many places, including the iterator implementation.

R=jkummerow@chromium.org

Bug: v8:13063
Change-Id: I1e28279d1a438598e0b8403a6a4078c2cd2a4c48
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3776685
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81902}
2022-07-24 07:07:05 +00:00
..
allocation-unittest.cc [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
bit-vector-unittest.cc [utils] Improve BitVector performance 2022-07-24 07:07:05 +00:00
detachable-vector-unittest.cc Move unittest files 2019-05-27 08:52:23 +00:00
identity-map-unittest.cc [test] Move cctest/test-identity-map to unittests/ 2022-07-05 14:41:01 +00:00
locked-queue-unittest.cc [cleanup] Replace simple typedefs by using 2019-05-27 12:39:49 +00:00
sparse-bit-vector-unittest.cc [utils] Introduce SparseBitVector 2022-05-16 10:23:26 +00:00
utils-unittest.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
version-unittest.cc [test] Move cctest/test-version to unittests/utils/ 2022-05-30 06:37:30 +00:00