Re-read the end iterator while erasing in nano::erase_if The helper saved end () before the loop, which only holds for node-based containers. Re-read it on every pass so the helper is correct for flat tables and sequence containers too, and cover both with tests.
__________
Type: commit
Hash: 26d076467146f6bf49b541d3c25c594c20e493ec
Created: today
__________
gr0v1ty/nano-node:26d076467146f6bf49b541d3c25c594c20e493ec
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | PASS | 109 s | -5.0 s | - | Show |
| 5n4pr_conf_10k_change | PASS | 129 s | -16.5 s | - | Show |
| 5n4pr_conf_change_dependant | PASS | 112 s | -5.0 s | - | - |
| 5n4pr_conf_change_independant | PASS | 109 s | -6.0 s | - | - |
| 5n4pr_conf_send_dependant | PASS | 133 s | 16.0 s | - | - |
| 5n4pr_conf_send_independant | PASS | 111 s | -2.0 s | - | - |
| 5n4pr_rocks_10k_bintree | PASS | 120 s | 6.0 s | - | - |
| 5n4pr_rocks_10k_change | PASS | 164 s | -12.5 s | - | - |