clear_arc_cache

Function clear_arc_cache 

Source
pub fn clear_arc_cache()
Expand description

This function will clear up lookup tables for the current-thread only!

You can either call it after every call to serde_json::from_str or a similar function for other formats, or you can keep the tables alive for longer periods.

Note that after the tables are cleared there is no way to intern previously observed slices, so extra copies will be created again.