Commit Graph

2 Commits

Author SHA1 Message Date
Slava Pestov
3b203a520b Serialization: Don't serialize requirement environment for witnesses
Generic environments and archetypes can be expensive to deserialize
if they involve a generic signature not seen before.

Also, canonicalize the witness substitutions to eliminate type
aliases, and map them to interface types, which again are cheaper
to deserialize.
2018-09-27 22:16:17 -07:00
Jordan Rose
e9074c4cb8 [serialization] Use cross-references for cross-file conformance references.
...rather than re-emitting the conformance in the current file, and then
trying to cross-reference the decl context that owns the conformance, which
may be an extension.

rdar://problem/20383044

Swift SVN r26822
2015-04-01 21:18:44 +00:00