Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

SelectAll method could be faster #15

Closed
Aidurber opened this issue Dec 29, 2017 · 0 comments
Closed

SelectAll method could be faster #15

Aidurber opened this issue Dec 29, 2017 · 0 comments

Comments

@Aidurber
Copy link
Owner

Version

1.3.2

Here's what went wrong:

With a list of 100,000 items, the selectAll method could be much faster. No need for unneccessary map of options.

allSelected check does a sort too which slows things down considerably.

Did some basic performance.now checks.

allSelected check down from ~44ms to ~0.3ms

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant