bubbletree icon indicating copy to clipboard operation
bubbletree copied to clipboard

Performance for traverse function

Open dmarzo opened this issue 12 years ago • 0 comments

I have performance leak (navigator freeze) when have 5k rows and same names. I resolved problem adding unique counter to url, instead of: while (me.nodesByUrlToken.hasOwnProperty(node.urlToken)) {node.urlToken += '-';}

bubbletree.js

  • (ln 185) urlTokenSource += '-' + me.globalNodeCounter;

But create weak url token that depends on row order.

dmarzo avatar Apr 23 '12 16:04 dmarzo