google / flatbuffers

FlatBuffers: Memory Efficient Serialization Library
https://flatbuffers.dev/
Apache License 2.0
22.52k stars 3.19k forks source link

[C++, flexbuffers] Optimizes shared key/string search implementation #8284

Open guillaumeblanc opened 2 months ago

guillaumeblanc commented 2 months ago

Hi,

The original implementation searches twice (find + insert) in case the key/string isn't found.

Regards, Guillaume