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

Reimplementing timer optimization #1269 #2892

Merged
merged 5 commits into from
Dec 7, 2020
Merged

Conversation

kritollm
Copy link
Contributor

@kritollm kritollm commented Dec 5, 2020

Restore the optimization #1269

@coveralls
Copy link

coveralls commented Dec 5, 2020

Coverage Status

Coverage increased (+0.02%) to 95.197% when pulling 0b93f06 on kritollm:master into d10beb9 on jashkenas:master.

Copy link
Collaborator

@jgonggrijp jgonggrijp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this nice optimization!

Please remove the changes to _.throttle and follow up on my comments below. You're welcome to submit a separate PR for _.throttle as discussed in #2832.

modules/debounce.js Outdated Show resolved Hide resolved
modules/debounce.js Outdated Show resolved Hide resolved
modules/debounce.js Outdated Show resolved Hide resolved
modules/debounce.js Outdated Show resolved Hide resolved
modules/debounce.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@jgonggrijp jgonggrijp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adressing my comments. I think we're nearly ready to merge, just a few more details.

modules/debounce.js Outdated Show resolved Hide resolved
modules/debounce.js Outdated Show resolved Hide resolved
modules/debounce.js Outdated Show resolved Hide resolved
modules/throttle.js Outdated Show resolved Hide resolved
modules/debounce.js Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants