Hi @jasondavies! I tried to use d3-cloud with a quite large board size (approx. 20000*20000), and noticed that there is a significant lag even when using only few words. The slowest part is zeroArray function. Here are few possible optimizations for it - https://jsperf.com/d3-cloud/ (all of them work fine). Should I submit a fix for it, or you prefer to do it yourself? Thanks!
Hi @jasondavies! I tried to use
d3-cloud
with a quite large board size (approx. 20000*20000), and noticed that there is a significant lag even when using only few words. The slowest part iszeroArray
function. Here are few possible optimizations for it - https://jsperf.com/d3-cloud/ (all of them work fine). Should I submit a fix for it, or you prefer to do it yourself? Thanks!