In my intranet web app there is a table of items which currently uses the id tag to select the row intended, selection is at a rate of 5-10 selections/sec. The method currently used may cause some inconsistencies time to time due to the async nature and it is very hard to sync it correctly.
The question is selection by index (via eq tag in jquery) faster than selection by ID (via getElementByID)?
I did some test and it showed that id is slightly faster but I thought I would ask the community for confirmation.