about summary refs log tree commit diff
path: root/ABSEIL_ISSUE_TEMPLATE.md
diff options
context:
space:
mode:
authorBronek Kozicki <brok@spamcop.net>2017-10-01T12·14+0100
committerBronek Kozicki <brok@spamcop.net>2017-10-06T18·59+0100
commit89f1f531d373f5e4eab77960d3b0e8c05d879c7c (patch)
tree1db2881a0f49c61ec56a2e95eb21327c2d444b07 /ABSEIL_ISSUE_TEMPLATE.md
parent962e9931d546cd6f062894e15283cea02c7d3220 (diff)
Make any_internal::FastTypeId() and IdForType() constexpr
This means removing all side effects from FastTypeId(). So rather than instantiate dummy_var in the first call to FastTypeId(), move this responsibility to the linker, and only read its address during execution - guaranteed to never change. This allows for more optimization opportunities, with more explicit uses of constexpr
Diffstat (limited to 'ABSEIL_ISSUE_TEMPLATE.md')
0 files changed, 0 insertions, 0 deletions