typelevel / algebra

Experimental project to lay out basic algebra type classes
https://typelevel.org/algebra/
Other
378 stars 69 forks source link

Improve the performance of Map's algebras. #157

Closed non closed 8 years ago

non commented 8 years ago

We noticed an issue in cats-kernel where operations over Maps were incredibly slow. This commit ports those fixes over here, where our additive/multiplicative monoids experienced the same issues.

Review by @johnynek

johnynek commented 8 years ago

minor comment about trySum.

johnynek commented 8 years ago

👍