Removing some casts and uses of void*
This commit is contained in:
committed by
Matthew Parkinson
parent
2c613b4f8a
commit
47428a096c
@@ -84,6 +84,8 @@ namespace snmalloc
|
||||
;
|
||||
|
||||
// The remaining values are derived, not configurable.
|
||||
static constexpr size_t POINTER_BITS =
|
||||
bits::next_pow2_bits_const(sizeof(uintptr_t));
|
||||
|
||||
// Used to isolate values on cache lines to prevent false sharing.
|
||||
static constexpr size_t CACHELINE_SIZE = 64;
|
||||
|
||||
Reference in New Issue
Block a user