ARPA-SIMC / arkimet

A set of tools to organize, archive and distribute data files.
Other
15 stars 5 forks source link

Refactor ValueBag/Values with a simple structure #248

Closed spanezz closed 3 years ago

spanezz commented 3 years ago

ValueBag is quite stable. It's currently based on a std::map, which is very inefficient for small sets of data.

It can be refactored into a vector or something similar.

If I could use C++17 std::string_view, this would be a fun place to use it, to avoid creating a std::string for each little key in a ValueBag.