Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

0.3.5

Compare
Choose a tag to compare
@kegluneq kegluneq released this 30 Mar 23:28
Protobuf changes for smaller dart2js code, Int64 fixes

This change is paired with https://chromiumcodereview.appspot.com/814213003

Reduces code size for one app by 0.9%

1. Allow constants for the default value to avoid many trivial closures.
2. Generate and use static M.create() and M.createRepeated() methods on message classes M to ensure there is a shared copy of these closures rather than one copy per use.
3. Parse Int64 values rather than generate from 'int' to ensure no truncation errors in JavaScript.

R=sigmund@google.com

Review URL: https://chromiumcodereview.appspot.com//813373003