Skip to content

Commit

Permalink
changelog for discrim trees
Browse files Browse the repository at this point in the history
  • Loading branch information
plt-amy committed Mar 9, 2024
1 parent 9c64b76 commit 9a0adb1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ Language

Changes to type checker and other components defining the Agda language.

* Agda now uses *discrimination trees* to store and look up instance
definitions, rather than linearly searching through all instances for
a given "class" ([PR #7109](https://github.com/agda/agda/pull/7109)).

This is a purely internal change, and should not result in any change
to which programs are accepted or rejected. However, it significantly
improves the performance of instance search, especially for the case
of a "type class" indexed by a single type argument. The new lookup
procedure should never be slower than the previous implementation.

Reflection
----------

Expand Down

0 comments on commit 9a0adb1

Please sign in to comment.