w8r/geojson2svg

Get rid of deep merging

w8r opened this issue · 1 comments

w8r commented

Currently the benchmark show that the render is as fast as d3 (which uses DOM) or sometimes slower. I see only one type of bottlenecks in the code - these object mergers. For styles they can be done in-place in _getStyles method, before rendering the attributes

w8r commented

and _selectStyle()