moment-recur icon indicating copy to clipboard operation
moment-recur copied to clipboard

Improve performance by caching diffs and avoiding unnecessary moment copies

Open cesarizu opened this issue 8 years ago • 1 comments

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.

cesarizu avatar Jun 01 '16 01:06 cesarizu

@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?

cesarizu avatar Oct 31 '16 08:10 cesarizu