xorz57 / StateMachine

State Machine written in C++11
https://xorz57.github.io/StateMachine
MIT License
7 stars 0 forks source link

Evaluate std::unordered_map for Transition Table Storage #2

Open xorz57 opened 2 months ago

xorz57 commented 2 months ago

Currently, transition_table_t is implemented as an std::vector. This issue proposes testing the use of std::unordered_map as an alternative storage mechanism for the transition_table_t. The goal is to determine if std::unordered_map provides better performance.

xorz57 commented 2 months ago

I highly recommend using https://github.com/google/benchmark for writing benchmarks!