hash-graph icon indicating copy to clipboard operation
hash-graph copied to clipboard

HashMap.fromList speedup

Open patrickdoc opened this issue 7 years ago • 1 comments

HM.fromList offers a significant speedup over foldl' insert. I need to find an efficient way to convert from the user interface of Edge n1 label n2 to each node paired with all its half edges.

patrickdoc avatar Dec 27 '17 20:12 patrickdoc

Currently solved by providing a fromList method. Still need to figure out if hashsets are exposed to the user or not.

patrickdoc avatar Jan 11 '18 07:01 patrickdoc