Bertram Felgenhauer

Results 14 comments of Bertram Felgenhauer

`mueval` imports some modules by default (see https://github.com/gwern/mueval/blob/master/Mueval/Context.hs#L24-L93), incurring a *runtime* dependency on several packages (as far as I can see, those packages are `show`, `simple-reflect`, `QuickCheck`, `pretty`, `containers`, `mtl`;...

A (useful, I think) partial fix would be to use hackage's package description editing feature and put an upper bound (

Somewhat surprisingly it looks like we can indeed speed things up slightly by avoiding the repeated destruction of the same list, based around the following return type: ```haskell data Inserted'...

> Did you experiment with passing along a key in the map and a mask the way you do for `fromAscList`? No I didn't try that... it's not directly applicable....

> That is somewhat surprising. I wonder what the Core looks like. I'd have thought the best bet for that sort of thing would've been an unboxed sum as a...

> insertMany' Nil k x kxs' = InsertedNil Nil doesn't look so great, because it makes insertMany' lazy in the key and list. Since we don't reach that anyway, it...

> Somewhat surprisingly it looks like we can indeed speed things up slightly by avoiding the repeated destruction of the same list, based around the following return type: > >...

> Probably got inlined away.... Did you check the CSE between link and branchMask calls? If I'm not mistaken, link makes essentially the same branchMask call you do, but with...

Oops, I believe we got #653 and #658 mixed up in the last 3 comments!

A lot going on here. I'll attempt a summary. * the goal is to speed up `fromList` (borrowing ideas from `fromAscList`, which builds the whole map in a bottom-up fashion...