Preface: I did not discuss this with Tyson prior, and this may be completely unwelcome, but I thought I would put the PR out here just in case it helps someone! @tysonwolker feel free to summarily close this if you're not interested. Oh, and thanks for the really neat plugin!! ❤️
This is admittedly not nearly as pretty as Tyson's implementation, but it is quite a bit faster!
Based on my benchmarks, time measurements are:
Before: average 145 milliseconds per run
After: average 50 milliseconds per run
I am (personally) willing to trade code style for speed. :^)
Preface: I did not discuss this with Tyson prior, and this may be completely unwelcome, but I thought I would put the PR out here just in case it helps someone! @tysonwolker feel free to summarily close this if you're not interested. Oh, and thanks for the really neat plugin!! ❤️
This is admittedly not nearly as pretty as Tyson's implementation, but it is quite a bit faster!
Based on my benchmarks, time measurements are:
I am (personally) willing to trade code style for speed. :^)