Skip to content

Commit

Permalink
Reduce Any stack usage with map + list of lookups
Browse files Browse the repository at this point in the history
Alternative to #1301 and #1303, prebuild a map by type
to determine which function to call.

This only works for concrete types, so we also need a list for
interfaces, ordered in precedence order (since multiple interfaces
may match a single type).
  • Loading branch information
prashantv committed Jul 29, 2023
1 parent a8e46a2 commit 990c1a5
Showing 1 changed file with 99 additions and 304 deletions.
Loading

0 comments on commit 990c1a5

Please sign in to comment.