mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-20 07:51:38 +02:00
chore: update set/map parallel logic
This commit is contained in:
@@ -11,8 +11,6 @@ type Map[KT comparable, VT any] struct {
|
||||
*xsync.MapOf[KT, VT]
|
||||
}
|
||||
|
||||
const minParallelSize = 4
|
||||
|
||||
func NewMapOf[KT comparable, VT any](options ...func(*xsync.MapConfig)) Map[KT, VT] {
|
||||
return Map[KT, VT]{xsync.NewMapOf[KT, VT](options...)}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user