-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Towards #41 - Avoid nested lists and serializing ints representing indexes (that match the index in the outer list already). - Avoid repeeating package name strings by storing them in a separate list and storing the index into that list. - For Maps where we don't care about index order switch to HashMap - Use `growable: false` where possible - Avoid `.toList()` where possible This reduces filesize for `asset_components_example` by ~4% and write time by ~9% and these optimizations also seem to help if we switch to msgpack.
- Loading branch information
Showing
1 changed file
with
31 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters