Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Improve the performance of Map's algebras. #157

Merged
merged 2 commits into from
Aug 21, 2016
Merged

Commits on Aug 21, 2016

  1. Improve the performance of Map's algebras.

    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.
    erik-stripe committed Aug 21, 2016
    Configuration menu
    Copy the full SHA
    afb111f View commit details
    Browse the repository at this point in the history
  2. When possible implement trySum/tryProduct in terms of sum/product.

    This mirrors a similar change in cats-kernel. The basic idea is that
    if someone goes to the trouble of writing an optimized .sum method
    we'd like for .trySum to use it as well.
    erik-stripe committed Aug 21, 2016
    Configuration menu
    Copy the full SHA
    207ef51 View commit details
    Browse the repository at this point in the history