1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-14 08:15:03 +12:00

link to relevant jsperf

This commit is contained in:
gorhill 2015-02-01 12:25:14 -05:00
parent e0eaf97eb4
commit 8f7d7d233b

View file

@ -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