mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-19 09:50:28 +00:00
The removed TODO warned that we'd end up with O(n^2) witness table entries per specific. This isn't a problem for a single associated function but will cause issues for larger custom witnesses. This commit generates at most two `SpecificId`s with an inner `Self`: one for associated constants and one for associated functions. --------- Co-authored-by: Dana Jansens <danakj@orodu.net>