| commit | 498afe1d822c8fbae5299e024a5db75f1e40419d | [log] [tgz] |
|---|---|---|
| author | Wyatt Hepler <hepler@google.com> | Fri Dec 12 13:03:45 2025 -0800 |
| committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 12 13:03:45 2025 -0800 |
| tree | 39ab3c284be40561fafb7f1e48727805e4a7d6a0 | |
| parent | 9469414ca6784dabf2a380ddfc5a67fb771163fb [diff] |
pw_containers: PushBackSlow function for IntrusiveForwardList - Add push/pop_front/back to the GenericIntrusiveList. This moves a little code from the template classes to the generic base. - Add PushBackSlow function that provides an O(n) push_back for IntrusiveForwardList. - Do not use remove() in IntrusiveList::pop_back() since it is O(n). Use erase_after() instead, which is O(1). Change-Id: If3dfd856677060cfc509bbead11962b61038ba8b Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/353174 Docs-Not-Needed: Wyatt Hepler <hepler@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Tests-Not-Needed: Wyatt Hepler <hepler@google.com> Copybara-Verified: Copybara Prod <copybara-worker-blackhole@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Aaron Green <aarongreen@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.