Agreed, but since building a dict before shipping it for concurrent consumption is a major use case, I think it makes sense to optimize for the use case by adding a dict.detach method, which creates a frozendict that reuses the hashtable of the dict and make the original dict point to a new empty hashtable, similar to the one for bytearray described in Add zero-copy conversion of `bytearray` to `bytes` by providing `__bytes__()` - #17 by pf_moore.
Agreed too.