niXman / yas

Yet Another Serialization
729 stars 95 forks source link

When I use `vector<bitset<32>>... #152

Open Darwinnpos opened 8 months ago

Darwinnpos commented 8 months ago

When I use vector<bitset<32>>, the performance significantly degrades compared to vector<uint32_t>. After inspecting the source code, I found that bitset involves a substantial amount of memory operations. Can this issue be addressed?

niXman commented 8 months ago

I see, thanks!

will fix it soon.