moment-recur
moment-recur copied to clipboard
Improve performance by caching diffs and avoiding unnecessary moment copies
This PR improves moment-recur performance by caching diffs and avoiding unnecessary moment copies.
The diff caching is done on a simple js object. In long-lived applications this might mean a ever increasing memory usage. There's the option of using https://www.npmjs.com/package/caching-map or a similar library to avoid this problem.
@c-trimm I've rebased this branch to the latest master, is there anything else missing or anything you'd like me to do to merge this?