jQuery 3.x hot paths: cached selectors versus native DOM APIs as the optimization boundary
jQuery 3.x delegates simple ID and class selectors to the browser's native querySelectorAll , while positional and visibility selectors such as :eq() and :visible still run through jQuery's own selector engine. That split leaves the optimization boundary unclear for an interaction dominated by repeated DOM queries and per-element event bindings. The goal is