khash associative array / hash map / hash set

ikod igor.khasilev at gmail.com
Tue Aug 25 15:25:46 UTC 2020


On Tuesday, 25 August 2020 at 01:04:27 UTC, James Blachly wrote:
> On 8/24/20 5:11 PM, ikod wrote:
>> Thanks, but no )

>> Also you may find useful safe map modification during 
>> iteration over map items (at the cost of creating temporary 
>> table copy).
>
> In search of absolute speed I am willing to forego this, but 
> certainly it could be useful in concurrency type situation

I made this copy lazy, kind of COW, as we don't have to copy kv 
storage while we iterate over it and do not change anything. I 
also added something to README.

Hope this will be usefull,

Regards!


More information about the Digitalmars-d-announce mailing list