From 8f7d7d233b16754eabd002909cf65b2bd8a024c1 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 1 Feb 2015 12:25:14 -0500 Subject: [PATCH] link to relevant jsperf --- platform/firefox/vapi-background.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index ba0ab42..c2aef75 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -804,6 +804,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(messageManager, channelName, listenerId, requestId) { this.callback = this.proxy.bind(this); // bind once