3 ms·
How does this address the problem outlined in the article? «deleting or inserting a row requires marking the outer TVar as changed, so multiple transactions ca
by nine_k 9y ago
How does this address the problem outlined in the article?
«deleting or inserting a row requires marking the outer TVar as changed, so multiple transactions cannot be modifying the table structure concurrently»
I know precious nothing about STM in Haskell, so just asking.
- whateveracct 9y agoTVar (HashMap k v) doesn’t address the problem in the article – it is the problem in the article!
- kccqzy 9y agoMy original comment is in the sense of avoiding premature optimization. For a typical app you likely won’t see the difference.