saddy-graphics-engine-2d icon indicating copy to clipboard operation
saddy-graphics-engine-2d copied to clipboard

[core] Hashing in sad::hfsm::Machine

Open mamontov-cpp opened this issue 5 years ago • 1 comments

isInState is too slow due to string comparison.

mamontov-cpp avatar Feb 12 '20 08:02 mamontov-cpp

The more I think about it, I'm thinking that should be breaking change. First of all, we can't really hash strings at run-time. But the other way, if we should change api to work with ints, not the string. That way, ALL OF OUR CODE NEEDS TO BE FIXED

mamontov-cpp avatar Nov 13 '20 08:11 mamontov-cpp