Immutable Dictionary overhead?

Posted by Roger Alsing on Stack Overflow See other posts from Stack Overflow or by Roger Alsing
Published on 2010-05-08T05:41:46Z Indexed on 2010/05/08 5:48 UTC
Read the original article Hit count: 315

Filed under:
|
|

When using immutable dictionaries in F# , how much overhead is there when adding / removing entries?

Will it treat entire buckets as immutable and clone those and only recreate the bucket whos item has changed?

Even if that is the case, it seems like there is alot of copying that needs to be done in order to create the new dictionary(?)

© Stack Overflow or respective owner

Related posts about F#

Related posts about immutable