Using constexpr we can flatten the feature dependency tree at
compile-time so that no computation is required at run-time.
Oh yikes, yes it does. I tried making the map a function level static variable, but this code is apparently called by multiple threads in some cases so we run into race condition.
Should I switch to a static array and just do a linear search through the array?