diff options
author | 2016-09-20 19:52:07 +0000 | |
---|---|---|
committer | 2016-09-21 07:08:49 +0000 | |
commit | 7b7fce1ebed8e34f789fdd3a0a47d741f175e4a3 (patch) | |
tree | a511355205155ea908e23dad97d39f2c25faeab9 /CONTRIBUTING.md | |
parent | 48ad3069fbb9b28ea035a7948c8e330e0eef5898 (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