[Task] Review performance impact of std::visit
in mdbuffer
#2056
Labels
feature request
New feature or request
std::visit
in mdbuffer
#2056
As a follow-up to #1999, compare the performance of
mdbuffer
withstd::visit
to a switch statement over memory types. Because of the algorithmic complexity guarantees ofstd::visit
, the compiler sometimes unnecessarily generates a jump table for small variants. It would be good to benchmark and see ifmdbuffer
's use case falls into this category.The text was updated successfully, but these errors were encountered: