Repository navigation
refactor(tests): final 3-way split + delete string.cpp (closes #3131) (re-target of #3156) - #3173
Conversation
…te original (closes #3131) Final extraction in #3131 (string.cpp split). The remaining 'str.cpp basic ops' section (was lines 1-2283 of original, ~2257 LOC of content) was larger than the meta's initial estimate of ~870 LOC, so this PR splits it into THREE files instead of one, keeping each under 1K LOC: - string_basic_ops.cpp (693 LOC): construction, reserve, FixedVector interop, long strings, overflow, concat, insert, erase, replace - string_search_a.cpp (666 LOC): rfind, find_first_of, find_last_of - string_search_b.cpp (953 LOC): find_first_not_of, find_last_not_of With these three files, the original string.cpp becomes empty (only the FL_TEST_FILE wrapper would remain) and is deleted. Summary of #3131 — all 11 extractions: PR | New file | LOC ----+--------------------------------+----- #3146 | string_memory_bugs.cpp | 389 #3147 | string_type_erased.cpp | 208 #3148 | string_append_concat.cpp | 320 #3149 | string_comparison_hash.cpp | 285 #3150 | string_optimization.cpp | 474 #3151 | string_comprehensive.cpp | 786 #3153 | string_ctor_iterator.cpp | 979 #3154 | string_basic_b.cpp | 864 this | string_basic_ops.cpp | 693 this | string_search_a.cpp | 666 this | string_search_b.cpp | 953 | original string.cpp DELETED | Every resulting .cpp file is under 1,000 LOC. Original 6,468 LOC monolith fully decomposed across 11 PRs + 1 deletion. Tests pass: bash test fl_stl_string_basic_ops --cpp (1/1). Stacked on feat/3131-string-basic-b-extract (PR #3154). Closes #3131 once all stacked PRs merge. Meta tracking issue: #3127. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Warning Review limit reached
More reviews will be available in 1 minute and 41 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Re-opening of #3156. Final extraction — closes #3131.