Macro Performance Tuning
Posted: Mon May 18, 2020 10:55 pm
I've been investigating why a macro I wrote is so terribly slow and tuned it but also tested out and profiled performance improvements in macro functions. These changes let me run a macros up to 5 times faster (this is mostly in the str functions codebase that requires O(n) for many operations where it doesn't have to).
I'm not sure though whether my example is just a pathological case. Maybe it's simply a 'special' case. Maybe I should push a PR.
QUESTION: Does anyone else have macros that are simply taking too long to run? I'd like to see if my changes help for those and can profile them as well.
nmeier
I'm not sure though whether my example is just a pathological case. Maybe it's simply a 'special' case. Maybe I should push a PR.
QUESTION: Does anyone else have macros that are simply taking too long to run? I'd like to see if my changes help for those and can profile them as well.
nmeier