This website requires JavaScript.
Explore
Help
Sign In
harukin
/
core
Archived
Watch
1
Star
0
Fork
0
You've already forked core
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
This repository has been archived on
2024-08-19
. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
b586fcebabfad0c062deb3070d1679414595dc95
core
/
view
/
js
/
autocomplete.js
Mario Vavti
8b9acf750b
autocomplete performance: this slightly changes the editor contact autocomplete behaviour. queries using *like* with a prepended % to the query string do not make use of indices. this is no big issue when we query abook but can get really slow when xchan table is involved. this commit changes the xchan table only queries to use the *str%* format. this means that the result set for channels we are not connected with will change in a way that xchan_name and xchan_addr will bematched only from the beginning of the name or address. this commit also changes textcomplete to only start the query after the 3rd character. the result set between 2 and 3 characters is mostly very different and only from 3 chars on there is a high possibility the channel we look for is already in the result.
2018-10-24 20:22:27 +02:00
13 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink