If I have a plugin that makes reference to the same JQuery objects constantly I figure I should cache the reference.
I was wondering if anyone knew off hand how much memory a jquery reference takes up?
Also I do understand that the price of the JQuery lookup far exeeds the price of the reference itself.
$('sameElement')
vs
this.sameElement = $('sameElement');
this.sameElement