c72b19a012
This CL basically: - Manually inlines writeAnnotationList. - Writes 2 and 4 byte uint30s and uint32 more effeciently in the general case (idea stolen from Slava). Benchmarking 10 times with binary_bench gives the following: - vm_platform.dill: -10.02% +/- 0.93% - vm_outline.dill: -12.45% +/- 1.66% Bug: Change-Id: I79354b260e37cbbced0557069ae63817fac0f333 Reviewed-on: https://dart-review.googlesource.com/19188 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Vyacheslav Egorov <vegorov@google.com> Reviewed-by: Dmitry Stefantsov <dmitryas@google.com>