DescriptionSerialize barback assets more efficiently.
This adds an [InternalAsset] class to barback that supports serialization
operations, and specializes those operations for each asset type (for example,
FileAssets will just send the file path across isolates). This class isn't
exposed publicly, but pub imports it and uses it to handle asset serialization.
BUG=14430
R=rnystrom@google.com
Committed: https://code.google.com/p/dart/source/detail?r=30126
Patch Set 1 #Patch Set 2 : Add a couple docstrings #
Total comments: 14
Patch Set 3 : Code review #Patch Set 4 : Make serializeAsset and deserializeAsset into methods. #
Total comments: 4
Patch Set 5 : code review #
Messages
Total messages: 10 (0 generated)
|