mapbox/carto
Nested regex can cause extremely slow generation times and longer xml
开放
#213 创建于 2012年12月13日
bughelp wantedperformance
仓库指标
- 星标
- (658 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
As a particularly noticeable example is the TileMill example open-streets-dc where converting two sections with the widths to regex, or even just changing a few lines from = to =~ gives significantly different results. https://github.com/tilemill-project/tilemill/blob/master/examples/open-streets-dc/highway.mss#L119 is an example line to change to get the difference.
I'm using Carto 0.9.4.