fititnt / spatial-data-maching

https://sdm.etica.ai/v/
GNU Affero General Public License v3.0
0 stars 0 forks source link

Slow down attempts to recompute matches when user is writting the rules on the Match Prompt #7

Open fititnt opened 1 month ago

fititnt commented 1 month ago

Since last commit, it finally is computing on the the live filter the matches. As expected, it takes more time than simpler filter. What was not so expected it that the even keyup + merely 100ms on the debouce would still be so CPU intense that the browser does not allow write the next letter without wait computation stop.

This needs to be improved. preferable something not as aggressive as wait for the user press a button to recompute