3 ms·
With an immutable data structure the only synchronization cost is that of atomic reference count increment/decrement, but it feels like you're mutating shared o
by cryptonector 9y ago
With an immutable data structure the only synchronization cost is that of atomic reference count increment/decrement, but it feels like you're mutating shared objects, so the API is very easy to use.
For an example API I'm familiar with, see https://github.com/stedolan/jq/wiki/C-API:-jv https://github.com/stedolan/jq/wiki/C-API:-jv