alphadose / haxmap

Fastest and most memory efficient golang concurrent hashmap
MIT License
892 stars 45 forks source link

Missed func LoadOrStore #15

Closed CMGS closed 1 year ago

CMGS commented 1 year ago

Hi it's a great project but miss LoadOrStore func.

Can just Get first then set?

alphadose commented 1 year ago

yes this is really useful, I will implement and test this and put it out in the next release

alphadose commented 1 year ago

@CMGS feature added in the new release https://github.com/alphadose/haxmap/releases/tag/v1.1.0