Provide a C-API to efficently convert `dict` into `frozendict`

We can make it about stealing. If refcount is 1, then change the type. Otherwise make a copy.

4 Likes