boostorg / unordered

Boost.org unordered module
http://boost.org/libs/unordered
Boost Software License 1.0
63 stars 55 forks source link

erase(iterator) perf #138

Closed cmazakas closed 2 years ago

cmazakas commented 2 years ago

Add a dedicated erase_node() function to the table class used internally by the implementation, creating optimizer-friendly code for cl.exe.

Partially addresses https://github.com/boostorg/unordered/issues/137

codecov[bot] commented 2 years ago

Codecov Report

Merging #138 (a31e894) into develop (3abe5de) will decrease coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #138      +/-   ##
===========================================
- Coverage    97.28%   97.28%   -0.01%     
===========================================
  Files           75       75              
  Lines         9943     9941       -2     
===========================================
- Hits          9673     9671       -2     
  Misses         270      270              
Impacted Files Coverage Δ
include/boost/unordered/detail/implementation.hpp 98.57% <100.00%> (+0.01%) :arrow_up:
include/boost/unordered/unordered_map.hpp 99.84% <100.00%> (-0.01%) :arrow_down:
include/boost/unordered/unordered_set.hpp 98.90% <100.00%> (-0.01%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3abe5de...a31e894. Read the comment docs.