Skip to content
Commit 39c0db6a authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Improve search performance by reducing the amount of work

This change takes advantage of my previous change and reuses the
stored colors instead of creating them from scratch every time.

rootFileItem() now returns early for search-as-you-type and CurrentFile
searches. This greatly reduces the amount of work it has to do.

The same file which took 9-10 seconds in search now takes 5 seconds only
parent 8fbd950b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment