From: Robert Konigsberg Date: Tue, 17 Apr 2012 18:56:48 +0000 (-0400) Subject: Tracking all event registrations, and deallocating them en masse makes X-Git-Tag: v1.0.0~284 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=6a4587ace91189585976885b489d3e85eb51ee98;p=dygraphs.git Tracking all event registrations, and deallocating them en masse makes destroy() retain much less memory. e.g. in a simple case creating and destoying the canonical demo, retains 10K less data upon destroy. --- diff --git a/auto_tests/misc/local.html b/auto_tests/misc/local.html index 6db0207..0af3cff 100644 --- a/auto_tests/misc/local.html +++ b/auto_tests/misc/local.html @@ -15,33 +15,34 @@ - - - + - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + - - -