squiddy/codespeed — comment on commit 02de62c735550497d97c595269cc08bb7453dc70
File: codespeed/static/js/changes.js line 51
By squiddy:

And it is more efficient. Before, a new event handler was installed at each table row. Now only a single event handler is at `tbody`, and it will catch events from the rows that bubble up the DOM. So here it isn't looping at all.
For that small count of rows on the changes table, efficiency is not the biggest gain, but I think it reads nicer - once you know what `on` does (btw. this particular use is known as `delegate` from earlier versions).