Closed jeromegamez closed 5 years ago
Awesome! Let's discuss other new features in #22 !
iterator_count
proceeds the whole iteration (that can be very long). A faster approches would be to use the diff but get the unit according to the precisionMask.
See the code:
Period::make('2000-01-01', '2100-01-01')->length();
Right now it takes 1.50ms. With iterator_count: 22.54ms
Are you able to submit a PR for this?
Yep, please assign it to me, so it will be in my todo-filter.
Cool, appreciate it!
See #42
Replaces #21 (same contents, but more fitting branch name 🤷♂️)
:octocat: