mirror of
https://github.com/Zygo/bees.git
synced 2025-06-17 01:56:16 +02:00
bees: deprecate vector<uint8_t> and replace with ByteVector
The vector<uint8_t> in the hash table doesn't hurt very much--only a few microseconds per 128K hash block. The vector<uint8_t> in BeesBlockData hurts a bit more--we run that constructor thousands of times per second. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
@ -633,7 +633,7 @@ private:
|
||||
ostream & operator<<(ostream &os, const BeesHash &bh);
|
||||
|
||||
class BeesBlockData {
|
||||
using Blob = vector<uint8_t>;
|
||||
using Blob = ByteVector;
|
||||
|
||||
mutable Fd m_fd;
|
||||
off_t m_offset;
|
||||
|
Reference in New Issue
Block a user