topojson / us-atlas

Pre-built TopoJSON from the U.S. Census Bureau.
https://observablehq.com/@d3/u-s-map
ISC License
859 stars 139 forks source link

ZipCode generation taking long time #8

Closed marshals closed 7 years ago

marshals commented 10 years ago

Zip code generation is going on 36 hours. How long does this typically take? Wondering if I need to be patient but I'm guessing something must not be right. Thanks for the help.

mbostock commented 10 years ago

This was discussed on the d3-js list: https://groups.google.com/d/msg/d3-js/lfhPyqQaibw/y0DkMfYgEaUJ

I’m investigating but I don’t have an immediate fix. The main issue appears to be excessive time spent garbage collecting. There is a secondary issue with excessive collisions in the hashtables that can be fixed by padding the hashtable size slightly (say by 1.4x), but this doesn’t fix the main issue.

mbostock commented 7 years ago

Closing old issues. Sorry I wasn’t able to fix this.