Voting starts in March for the Drupal Association Board election.
We agreed on a few things in the jQuery issueThis is the meta tracking the progress. What this aims at is a full review of our JS code.
What we agree on, in order of most important for perfs:
- Look at all our selectors and HTML structure and see how that can be simplified to allow better, faster selectors.
- don't use sizzle-specific selectors if we can avoid it.
- use regular for loops when $(seletor).each() is overkill. Separate the selecting and processing of elements. Typically it means removing the anonymous function when using
The plan is to open an issue for each core file/module and tackle points 2-4 one file at a time.
I've highlighted the ones that would benefit the most. The changes to tabledrag are a bit more drastic than the rest so we might to keep it for the end since it's such a big piece of code.