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

feature request: speed up incremental search with idle handler? #2

Open
cpbotha opened this issue May 2, 2012 · 1 comment
Open

Comments

@cpbotha
Copy link

cpbotha commented May 2, 2012

Thank you very much for the SyncPad extension, it's (almost :) perfect!

I have about 263 notes. Incremental searching can get really slow with delays of up to 20 seconds after each keypress. I"ve tested this on Windows and Linux, on CPUs varying from Core2 Duo, through Core2 Quad Q9450 to Core i5 mobile on Chrome 18 and earlier versions. Would it be possible to build in an idle handler, so that it only updates the search results when I stop typing? This would greatly improve the apparent interactivity.

@cpbotha
Copy link
Author

cpbotha commented May 2, 2012

I've made a patch for this: http://dl.dropbox.com/u/207154/syncpad_incsearch_delay.diff

It would of course be even more ideal if SNNotelist.prototype.request() could be sped up, but I have not yet been able to see if this is even possible.

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

1 participant