In the BTS client when I click on "market" and then try to search in "search market" it lags for up to 30 seconds and is extremely slow.
We'll take a look: https://github.com/BitShares/web_wallet/issues/488
I made a pull request last night to fix this issue, just needed to limit the amount of entries shown in the typeahead list.
Does this limit the feature then? Will it page instead? How would typeahead work for things that are above the limit of allowed entries?
Yea you need to be a bit more precise basically. I set the limit to 10 but we could increase it I guess. It's not really practical browsing through hundreds of entries though.
Yea... this kind of thing only works when you know what you are searching for or keywords to look for... if you don't know (then you are browsing), you need a good way to be able to browse all the data without sacrificing usability.
It would be interesting to see whre the bottleneck lies.. on the front-end side "drawing" the entries or on the backend, having to download the data... if its drawing, and you are searching across everything anyway and only showing up to 10 results at a time that is a fair tradeoff I think, if that's the way its working.
If it's downloading then server-side paging is really the only answer.