pw_allocator: Refactor Bucket This CL adds flexibility to the Bucket class by making it statically polymorphic, and adding subtypes such as CompactUnsortedBucket and SortedBucket. The existing behavior is preserved with a LegacyBucket subtype. Change-Id: Ia505cba5186e8ba44b418468083e2cd2df0d8626 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/234815 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Commit-Queue: Aaron Green <aarongreen@google.com> Pigweed-Auto-Submit: Aaron Green <aarongreen@google.com> Reviewed-by: Taylor Cramer <cramertj@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/.