1. 19 Mar, 2024 3 commits
    • Do hashtablez sampling on the first insertion into an empty SOO hashtable. · 1980d7b9
      When sampling triggers, we skip SOO and allocate a backing array. We must do this because the HashtablezInfoHandle is part of the heap allocation (along with the control bytes and slots). By default, we sample 1 in ~1024 hashtables when sampling is enabled. This will impact performance because (a) we won't benefit from SOO so we would have worse data locality (more cache/TLB misses), and (b) the backing array capacity will be 3 instead of 1 so (b.1) we skip the rehash after the second insertion and (b.2) we potentially waste up to two slots worth of memory.
      
      We also add an soo_capacity field to HashtablezInfo to allow for distinguishing which sampled tables may otherwise have been SOO - this will allow us to know approximately what fraction of tables are in SOO mode.
      
      PiperOrigin-RevId: 617252334
      Change-Id: Ib48b7a4870bd74ea3ba923ed8f350a3b75dbb7d3
      Evan Brown committed
    • Add explicit #include directives for <tuple>, "absl/base/config.h", and… · 43c36ffa
      Add explicit #include directives for <tuple>, "absl/base/config.h", and "absl/strings/string_view.h".
      
      PiperOrigin-RevId: 617232899
      Change-Id: I5e6c0bd4545d7f7ad9c5c494017269e247f620a3
      Abseil Team committed
    • Add a note about the cost of `VLOG` in non-debug builds. · fa6a3cd6
      PiperOrigin-RevId: 617186944
      Change-Id: Id540fb42b02f24ad92b8f3898231f01ac004e191
      Abseil Team committed
  2. 18 Mar, 2024 7 commits
  3. 15 Mar, 2024 4 commits
  4. 14 Mar, 2024 2 commits
  5. 13 Mar, 2024 5 commits
  6. 12 Mar, 2024 8 commits
  7. 11 Mar, 2024 3 commits
  8. 07 Mar, 2024 2 commits
  9. 06 Mar, 2024 4 commits
  10. 04 Mar, 2024 2 commits