Browse Source

link to relevant jsperf

pull/2/head
gorhill 10 years ago
parent
commit
6123bff635
  1. 2
      platform/chromium/vapi-background.js

2
platform/chromium/vapi-background.js

@ -386,6 +386,8 @@ vAPI.messaging.broadcast = function(message) {
// "the dreaded 'uniformly slow code' case where every function takes 1%
// of CPU and you have to make one hundred separate performance optimizations
// to improve performance at all"
//
// http://jsperf.com/closure-no-closure/2
var CallbackWrapper = function(port, request) {
// No need to bind every single time

Loading…
Cancel
Save