documentcloud/backbone — pull request #1097 by lxb (2012-03-14 01:19:49+00:00)
Title: Slight optimization for Events, cache splitting Regex

- cache the regular expression used to separate the event string
- changed old eventSplitter to delegateEventSplitter to remove ambiguity
- http://jsperf.com/triggering
- not caching the regex is 85% slower on chrome linux i686