unisonweb/unison

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

Open

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

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

描述

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.

贡献者指南