Went through the code a bit to learn about the implementation. Not sure if this is really helpful, but I discovered some duplicated code that only differed in the xt reduce function.
I am not a c++ pro, but using macros seems to be a viable option to reduce the code duplication here.
Went through the code a bit to learn about the implementation. Not sure if this is really helpful, but I discovered some duplicated code that only differed in the xt reduce function. I am not a c++ pro, but using macros seems to be a viable option to reduce the code duplication here.