-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize zeroArray
function
#158
Comments
@jasondavies I have this issue too. Sounds like a good addition! I don't mind sending a PR too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!The text was updated successfully, but these errors were encountered: