Well, I think we're talking about different issues here.

On line 28 we create a single delegate event handler (which relies on event bubbling). Previously, we would install event handlers on each ``li``. So, instead of taking the performance hit when building the DOM, we now have a negligible hit waiting for the event to bubble. So it's faster to load the code hints, but slightly slower to execute the code hint.