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

Parallelize product searches #143

Open
KJ7LNW opened this issue Sep 12, 2024 · 3 comments
Open

Parallelize product searches #143

KJ7LNW opened this issue Sep 12, 2024 · 3 comments

Comments

@KJ7LNW
Copy link

KJ7LNW commented Sep 12, 2024

it appears that javascript supports parallel workers:

I am no javascript expert, but perhaps jlcparts partition searches based on the number of CPUs (for some configurable field) to speed up the in-memory search?

@KJ7LNW KJ7LNW changed the title Parallelizeproduct searches Parallelize product searches Sep 12, 2024
@dougy83
Copy link
Contributor

dougy83 commented Oct 2, 2024

Full text search takes <2seconds if you use the newer compressed database (not querying from IndexedDB). See my-test-site

@KJ7LNW
Copy link
Author

KJ7LNW commented Oct 2, 2024

That site is much faster! I was using https://yaqwsx.github.io/jlcparts/#/ . Is "yaqwsx.github.io" it no longer maintained?

@dougy83
Copy link
Contributor

dougy83 commented Oct 3, 2024

Is "yaqwsx.github.io" it no longer maintained?

I believe it's still maintained, and if something breaks it gets fixed, but the owner is a bit busy to accept large changes. If I see a new issue I'll generally just fix it on my test site and send a PR to this repo.

The database on this site is updated daily, which I rely on to update mine.

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