boostorg / dynamic_bitset

Boost.org dynamic_bitset module
http://boost.org/libs/dynamic_bitset
Boost Software License 1.0
38 stars 59 forks source link

simplify push_back logic #71

Open unixnme opened 2 years ago

unixnme commented 2 years ago

Hello boost devs/maintainers,

I find the current push_back logic a bit strange with the two-steps

I feel it would make sense to simplify this with a single step and reduce overhead

I'm not sure if this is intended, but if not, here is my pull request to address the issue.

Thanks.

jeking3 commented 1 week ago

Please rebase this on the current develop branch so that we can run the full set of tests against it. Thanks.