Skip to content

Commit

Permalink
Update note on performance in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstjules committed Feb 25, 2014
1 parent 162d3ee commit a1fab40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ Despite the ease of replacing EventEmitter throughout your application,
performance should be considered for any event-heavy code. This implementation
was done in an attempt to avoid copying a majority of the source in
`node/lib/events.js`, which resulted in a couple otherwise unnecessary
assignments when dealing with EventEmitter's default behaviour.
assignments and function calls when dealing with EventEmitter's default
behaviour.

To illustrate, consider the performance difference between both modules when
only registering to string events, no regular expressions. Running
Expand Down

0 comments on commit a1fab40

Please sign in to comment.