| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| any.h | ||
| any_test.cc | ||
| bad_any_cast.cc | ||
| bad_any_cast.h | ||
| bad_optional_access.cc | ||
| bad_optional_access.h | ||
| optional.cc | ||
| optional.h | ||
| optional_test.cc | ||
| span.h | ||
| span_test.cc |
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
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| BUILD.bazel | Loading commit data... | |
| any.h | Loading commit data... | |
| any_test.cc | Loading commit data... | |
| bad_any_cast.cc | Loading commit data... | |
| bad_any_cast.h | Loading commit data... | |
| bad_optional_access.cc | Loading commit data... | |
| bad_optional_access.h | Loading commit data... | |
| optional.cc | Loading commit data... | |
| optional.h | Loading commit data... | |
| optional_test.cc | Loading commit data... | |
| span.h | Loading commit data... | |
| span_test.cc | Loading commit data... |