Simon Legner
Simon Legner
``` --- FAIL: TestFromPBF (2.38s) --- FAIL: TestFromPBF/unable_to_fetch_current_state (2.00s) state_test.go:69: expected error with "no such host", got fetching current sequence for estimated import sequence: fetching current state: Get "https://unknownurl_planet.openstreetmap.org/replication/day/state.txt": dial...
26.88% of allocations in MapCSSTagCheckerPerformanceTest.testCity amount to Way.getBBox
Currently, Environment instances require 120 bytes each. Most fields are only relevant for the LINK context. 18.36%->11.30% of allocations in MapCSSTagCheckerPerformanceTest.testCity amount to Environment/LinkEnvironment.
Perform the expensive originalWidth calculation only when necessary for inheritOriginalWidth:
Similar to `sed`. From its man page: ``` -i[SUFFIX], --in-place[=SUFFIX] edit files in place (makes backup if SUFFIX supplied) ```
When only requiring one or two layers, leaflet-providers is overkill since it weights [22.9 kB](https://bundlephobia.com/package/[email protected]) To improve on that I'd like to suggest/discuss: - export provider definitions such as OpenStreetMap...
This automatically fetches the type definitions upon `npm install`.