mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This change tries to recover the performance regression in map() that was caused by moving map() to a protocol extension and degrading the static type information (when mapping a collection, we only know that it is a sequence). Adding map() to the witness table allows us to provide a specialized implementation for collections, and hopefully recover the lost performance. Swift SVN r28416
98 KiB
98 KiB