craigspaeth/jquery.fillwidth — Issue #4: Use HTML5 web workers for speedyness
Author: craigspaeth
Created: 2011-12-12 23:50:21+00:00
State: open

It would be nice if the calculations were run & canceled in web workers.

For instance in the art.sy gene page view, when loading a bunch of artists it will attach a bunch of fill width plugins to each artist. Each artist could have like 100+ artworks, meaning like thousands of elements with several fillwidth handlers firing at once.

If we used web workers we could run these calculations on the side and not lock the scroll bar. Then if the user resized their window again we could cancel all of the workers and re-run them. Meaning no locked scroll bar and no excess calculations for impatient users.