Fields

hardware None
os None

Parameters

Fields

NameValue

Parameters

NameValue
git_commit commit c7df10643bda4acdc9a02406a2eee8aa4ced747f
Author: Peng Liu <winner245@hotmail.com>
Date: Wed Nov 13 05:08:08 2024 -0500

Unify naming of internal pointer members in std::vector and std::__split_buffer (#115517)

Related to PR #114423, this PR proposes to unify the naming of the
internal pointer members in `std::vector` and `std::__split_buffer` for
consistency and clarity.

Both `std::vector` and `std::__split_buffer` originally used a
`__compressed_pair<pointer, allocator_type>` member named `__end_cap_`
to store an internal capacity pointer and an allocator. However,
inconsistent naming changes have been made in both classes:
- `std::vector` now uses `__cap_` and `__alloc_` for its internal
pointer and allocator members.
- In contrast, `std::__split_buffer` retains the name `__end_cap_` for
the capacity pointer, along with `__alloc_`.

This inconsistency between the names `__cap_` and `__end_cap_` has
caused confusions (especially to myself when I was working on both
classes). I suggest unifying these names by renaming `__end_cap_` to
`__cap_` in `std::__split_buffer`.
Filter

ldionne-old-macbook-results test results

Run Order Start Time Duration
Current 518048 2025-12-16T16:40:01 0:00:00
Previous 517996 2025-12-16T16:40:01 0:00:00
Baseline 485288 2025-12-16T16:40:01 0:00:00


Tests Summary

Status Group # # (B)
Performance Regressions 1 0
Performance Improvements 1 0
Added Tests 0 18
Unchanged Tests 88 72
Total Tests 90

Performance Regressions - execution_time Δ Previous Current σ Δ (B) σ (B)
727_cppcheck_r 3.43% 25.074 25.935 - 0.00% -

Performance Improvements - execution_time Δ Previous Current σ Δ (B) σ (B)
767_nest_r -1.10% 14.211 14.055 - 0.00% -

Added Tests - execution_time
706_stockfish_r
707_ntest_r
709_cactus_r
710_omnetpp_r
721_gcc_r
723_llvm_r
727_cppcheck_r
729_abc_r
731_astcenc_r
734_vpr_r
735_gem5_r
736_ocio_r
737_gmsh_r
748_flightdm_r
750_sealcrypto_r
753_ns3_r
766_femflow_r
767_nest_r


Report Time: 0.15s