Closed iboB closed 2 months ago
In fact I think it would be better to ditch the "overloads" and just entirely change the interface to use ac_dict_root
. Yes, this incurs an additional allocation, but it should be minor compared to the rest of what's going on.
Currently the interface only supports json strings. Add an
ac_dict_root
-based interface. It should take ownership of the the provided root (and free it accordingly) to transfer to the underlying C++ code