add missing tests - #53
Conversation
priority_queue needs push_heap/pop_heap/make_heap, not the whole 1000+ line <algorithm> header. Move the heap primitives into the shared minimal-helpers header already used by map/list/set.
csignal forwarded signal.h without putting anything into namespace std. typeindex had no std::hash<type_index> specialization, so type_index couldn't be used as an unordered_map key.
rdfind build-time diff (configure / compile / run tests)Compiler: rdfind build time with psychicstd, main vs this PR (same runner). 🟢 faster · 🔴 slower · 🟡 within noise. A change is colored only when its bootstrap 95% CI excludes 0 and it clears ±5% / 3ms. No significant changes (🟡 3 within noise). 🟡 3 benchmark(s) within noise
Reproduce this on your machine: |
Compile-time performance diffCompiler: psychicstd compile time, main vs this PR (same runner). 🟢 faster · 🔴 slower · 🟡 within noise. A change is colored only when its bootstrap 95% CI excludes 0 and it clears ±5% / 3ms. 🔴 2 slower · 🟢 1 faster · 🟡 78 within noise.
🟡 78 benchmark(s) within noise
Reproduce this on your machine: |
Sanitizer diff (ASan/UBSan)🔴 2 header(s) regressed, 🟢 2 header(s) improved.
59 header(s) unchanged
|
Compliance diff🔴 2 header(s) regressed, 🟢 2 header(s) improved.
59 header(s) unchanged
|
simdutf build-time diff (compile / run tests)Compiler: simdutf build time with psychicstd, main vs this PR (same runner). 🟢 faster · 🔴 slower · 🟡 within noise. A change is colored only when its bootstrap 95% CI excludes 0 and it clears ±5% / 3ms. No significant changes (🟡 2 within noise). 🟡 2 benchmark(s) within noise
Reproduce this on your machine: |
27 headers had no test_*.cpp: bit, cassert, cctype, cerrno, cfenv, cfloat, cinttypes, ciso646, climits, clocale, cmath, condition_variable, csignal, cstdarg, cstdio, cstdlib, cstring, ctime, cwchar, iosfwd, locale, ostream, queue, streambuf, system_error, typeindex, version.
not all headers had a test file. also fixes an omission for queue, it should not include algorithm since it is large (and will keep growing)