EhLib.Com
https://forum.ehlib.com/en/

Slow Search with "SearchPanel"
https://forum.ehlib.com/en/viewtopic.php?f=5&t=992
Page 1 of 1

Author:  Luciano_F [ 31 Jul 2019, 13:44 ]
Post subject:  Slow Search with "SearchPanel"

How to improve performance in "SearchPanel"

Hello doing some tests with the search for all columns I realized that it is slow to search for all columns making a comparison with XdbGrid that also has the same functionality, I found that EhLib is approximately 60% slower searching under the same conditions. of table and records.

Attached a link for you to download the demo application.
https://mega.nz/#!IvZCQKDL!caZw69ZBW_wECWuqnyXN66uvejlnqDMTgPTkG5wiFDg

And a link from a video explaining how I did the test.
https://mega.nz/#!xrZClA4Z!YzeeYcSPK7L70fCi6IYTd51TOsX7duAtzxhXb-BHK5U

I believe that you can improve the search algorithm for better performance.

the names searched in both Grids are
"João"
"Maria"

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/