Chromium Code Reviews
DescriptionReduce code size of BindingState
BindingState is a templated class that gets expanded for every Mojo impl,
causing code bloat. By moving the functions that don't depend on the template
parameter out of line we save roughly 2.3k bytes in safe_json.mojom (on
Linux). I expect similar gains for every .mojom.
BUG=597125
Committed: https://crrev.com/ad0c0b3bab4a19dfafb51bda1dad56024c2dc9e2
Cr-Commit-Position: refs/heads/master@{#409691}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Tweak --similarity to make binding_state.cc look like move #Patch Set 3 : --similarity=10 #
Total comments: 10
Patch Set 4 : Address rockot's review comments #
Messages
Total messages: 24 (16 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||