mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
If there are no more than 2 elements in the cache, we can avoid using the `cache` Dictionary, which avoids memory allocations. Fortunately this is the common case by far (about 97% of all walker invocations).