mirror of
https://github.com/Zygo/bees.git
synced 2025-05-18 05:45:45 +02:00
It turns out we never use a value for m_buf_size that isn't the default, and we also never ask for more than a few thousand items; however, we do spend a ton of time memsetting the huge buffer to zero. I don't know what the ideal size is, but 16K is a far better guess than 1MB. Let's reduce it for some immediate CPU benefit, and determine what the size should be later. Reported at https://github.com/Zygo/bees/issues/11