Closed nolan-veed closed 8 months ago
I'll fix the builds... wanted some early feedback.
Thanks for PR!
I'll do full review in upcoming days, but overall approach looks fine.
I think we can avoid node_release_callback: instead of iterating over elements in HashmapImpl::release_bucketarray using buckets, we can iterate them in template class destructor using front/back/nextof and release ownership in template class. Then implementation class will just deallocate buckets. After releasing ownership, and before deallocating buckets, buckets will contains dangling pointers to released elements, but that's not a problem because we're anyway in destructor.
I think we can avoid node_release_callback: ...
I'll do that... it's better.
CI was failing because of problem in env-debian after recent rebuild of docker images. I've pushed a fix: https://github.com/roc-streaming/dockerfiles/commit/a2806619c7f55c00e2c0305b3a459e211348019c
Thanks, LGTM!
Small follow-up: de830bd2aef0433edbd760e08dc9c3f44f05228f
Why
For https://github.com/roc-streaming/roc-toolkit/issues/579
What
Testing
Existing tests should suffice.