felixge/node-dateformat

Performance Improvements

chase-manning opened this issue · 0 comments

Currently when you run dateformat for a given mask, it goes through the process of calculating the result for every possible mask output.
Then it filters it down to only use the ones it needs.
This should be changed so that it only calculates the format for the given mask, and ignores everything else.
This is for performance improvements to save the runtime calculating the redundant masks.