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 517993 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 3 0
Performance Improvements 2 0
Added Tests 0 18
Unchanged Tests 85 72
Total Tests 90

Performance Regressions - execution_time Δ Previous Current σ Δ (B) σ (B)
727_cppcheck_r 2.56% 25.287 25.935 - 0.00% -
723_llvm_r 2.04% 11.414 11.647 - 0.00% -
721_gcc_r 1.31% 12.900 13.070 - 0.00% -

Performance Improvements - execution_time Δ Previous Current σ Δ (B) σ (B)
767_nest_r -1.48% 14.266 14.055 - 0.00% -
753_ns3_r -1.38% 10.604 10.457 - 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.73s
Name Current %
706_stockfish_r 22.171 -
707_ntest_r 17.860 -
709_cactus_r 19.714 -
710_omnetpp_r 8.514 -
721_gcc_r 13.070 1.31%
723_llvm_r 11.647 2.04%
727_cppcheck_r 25.935 2.56%
729_abc_r 18.767 -
731_astcenc_r 10.098 -
734_vpr_r 15.514 -
735_gem5_r 13.719 -
736_ocio_r 16.219 -
737_gmsh_r 13.066 -
748_flightdm_r 8.933 -
750_sealcrypto_r 18.354 -
753_ns3_r 10.457 -1.38%
766_femflow_r 12.790 -
767_nest_r 14.055 -1.48%
Geometric Mean 14.380 -