Commit 4af7e5f3 authored by Xavier Thompson's avatar Xavier Thompson

Increase minimum deque size to reduce resizings

parent 32ff309f
...@@ -34,7 +34,7 @@ namespace typon::fdt::lock_free ...@@ -34,7 +34,7 @@ namespace typon::fdt::lock_free
std::atomic<u64> _bottom {1}; std::atomic<u64> _bottom {1};
std::atomic<array_type *> _array; std::atomic<array_type *> _array;
deque(u8 bits = 2) noexcept deque(u8 bits = 3) noexcept
: _bits(bits) : _bits(bits)
, _array(new array_type(bits)) , _array(new array_type(bits))
{} {}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment