Inefficient selectors in common.dev.js
|Reported by:||GamajoTech||Owned by:|
There are some repeated jQuery selector lookups that could be cached, and incorrect attempts at adding contexts in common.dev.js.
Some minor optimisations that sacrifices a little bit of code readability, for a double speed improvement of caching expensive jQuery selector lookups, and reducing the size of common.js by ~300 bytes (5%) when minifying.
Change History (11)
- Keywords needs-refresh added; has-patch needs-testing removed
- Milestone changed from Awaiting Review to Future Release
- Type changed from defect (bug) to enhancement