Commit d8c178bc authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

timers: fix performance regression

Fix a 5-7% performance regression in the http_simple benchmark that was
introduced by the following commits:

  348d8cd0 timers: remove _idleTimeout from item in .unenroll()
  f2f30286 timers: fix memory leak in setTimeout
  098fef67 timers: remember extra setTimeout() arguments when timeout==0

Fix suggested by Bert Belder.
parent 892ba878
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment