aboutsummaryrefslogtreecommitdiffhomepage
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorGravatar Michajlo Matijkiw <michajlo@google.com>2016-09-20 19:52:07 +0000
committerGravatar Laszlo Csomor <laszlocsomor@google.com>2016-09-21 07:08:49 +0000
commit7b7fce1ebed8e34f789fdd3a0a47d741f175e4a3 (patch)
treea511355205155ea908e23dad97d39f2c25faeab9 /CONTRIBUTING.md
parent48ad3069fbb9b28ea035a7948c8e330e0eef5898 (diff)
Use Object for what instead of String
The string is only used for error messaging on failure. Instead of constructing lots of strings allow passing in a generic Object whos toString is used for the error message. This allows us to bypass a lot of garbage string generation, at th expense of a little indirection. Chose Object over some specialized type, since we use inline strings frequently as well. -- MOS_MIGRATED_REVID=133741724
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions