a-b-street / a-b-street/abstreet

Smaller files: don't serialize turn geometry?

未关闭
#94 5 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
good first issue
主要语言
Rust
星标
8.2k
派生
380
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。