a-b-street/abstreet
Ver no GitHubSmaller files: don't serialize turn geometry?
Open
#94 aberto em 24 de jun. de 2020
good first issue
Métricas do repositório
- Stars
- (6.779 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
Not sure this will work, but it's a good little exploratory project. map_model/src/turn.rs stores geom: PolyLine. Last time I used the serialized_size_bytes stuff in map.rs, these polylines constituted a huge part of the binary map files. The release size is slowly growing, so it'd be nice to trim this down.
Maybe we could skip serializing the PolyLine, then in Map::new after deserializing, go fill it in again. Should measure the impact on file sizes and initial map loading time.