I was experiencing a big performance dip when implementing the library on a big table (after switching from Bootstrap to Zurb's Foundation 5). Turns out that the find()call in the scroll handler was eating a lot of cpu. I cached the first find and used the cached value in future calls.
I was experiencing a big performance dip when implementing the library on a big table (after switching from Bootstrap to Zurb's Foundation 5). Turns out that the
find()
call in the scroll handler was eating a lot of cpu. I cached the first find and used the cached value in future calls.