forked from haskell/fgl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use `Data.IntMap.differenceWith` to implement `(&)` and `match` for `Data.Graph.Inductive.PatriciaTree`. Instead of modifying the graph manually, one key at a time, `differenceWith` will efficiently partition the set of keys to be modified along the structure of the graph. This should be considerably more efficient when inserting or matching on well-connected nodes. Fixes haskell#39
- Loading branch information
Showing
1 changed file
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters