a-b-street / osm2lanes

A common library and set of test cases for transforming OSM tags to lane specifications
https://a-b-street.github.io/osm2lanes/
Apache License 2.0
33 stars 2 forks source link

Refactor Tags Only Map #205

Closed droogmic closed 2 years ago

droogmic commented 2 years ago

An attempt 2 at refactoring tags.

github-actions[bot] commented 2 years ago

Benchmark for 3a5a979

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | tests/224637155 | 5.8±0.35µs | **5.6±0.15µs** | **-3.45%** | | tests/380103730 Japanese Expressway | 7.7±0.33µs | 7.8±0.30µs | +1.30% | | tests/389654080 | **8.1±0.10µs** | 8.6±0.21µs | **+6.17%** | | tests/49207928 cycleway:BACKWARD=lane | 7.4±0.34µs | **6.8±0.31µs** | **-8.11%** | | tests/8591383 a bidirectional cycleway, oneway:bicycle | 8.3±0.34µs | 8.0±0.45µs | -3.61% | | tests/bus:lanes=designated\| | **7.4±0.43µs** | 8.0±0.40µs | **+8.11%** | | tests/busway=lane | **7.0±0.28µs** | 7.2±0.15µs | **+2.86%** | | tests/cycleway=lane | 6.3±0.47µs | **6.0±0.14µs** | **-4.76%** | | tests/sidewalk:right=yes | **5.5±0.06µs** | 6.0±0.40µs | **+9.09%** | | tests/sidewalk=both | **5.8±0.08µs** | 6.3±0.31µs | **+8.62%** |