Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iterator.next() is extremely slow #78

Closed
ffxsam opened this issue Oct 27, 2016 · 2 comments
Closed

iterator.next() is extremely slow #78

ffxsam opened this issue Oct 27, 2016 · 2 comments

Comments

@ffxsam
Copy link

ffxsam commented Oct 27, 2016

I modified the example code to remove the current and end dates, as I want to have an iterator that will work indefinitely (see below).

var options = {
  iterator: true
};

For some reason, when used this way, .next() is extremely slow. I added back in currentDate and endDate, and I noticed that the larger the gap between those two, the slower .next() was.

@harrisiirak
Copy link
Owner

@ffxsam can you paste the exact code that has slow behavior?

@ffxsam
Copy link
Author

ffxsam commented Oct 27, 2016

Never mind, I think I was misunderstanding how to use the parser. All is well!

@ffxsam ffxsam closed this as completed Oct 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants