Skip to content

Instantly share code, notes, and snippets.

View karololszacki's full-sized avatar
🏠
Working from home

Karol Olszacki karololszacki

🏠
Working from home
View GitHub Profile
@karololszacki
karololszacki / Oluv's bt speaker db - faster search
Last active June 2, 2017 20:25
Some optimisations: - a timeout trick so we don't fire same functions too often (like for keyUp event or updateClasses); - simpler search (indexOf where we had regex); - jQuery animations replaced with velocity, not giving that much improvement; I would get rid of "updateClasses" and the animations altogether