unisonweb/unison

switch `Patch` to use `Map` instead of `Relation`

Open

#1,658 创建于 2020年8月17日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Haskell (304 fork)batch import
help wanted

仓库指标

Star
 (6,624 star)
PR 合并指标
 (平均合并 12天 19小时) (30 天内合并 6 个 PR)

描述

We don't need the reverse index that Relation provides hanging out in memory.

We don't want to risk changing the existing V1 serialization format, so for simplicity, when constructing this PR, convert to/from a Relation using Relation.toMultimap/.fromMultimap before calling the serialization functions.

贡献者指南