mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
add eval and potentially speed up variable access speeds when multi threading. fix bug in threading count
This commit is contained in:
@@ -114,10 +114,9 @@ func parseMap(code UNPARSEcode, index int, codelines []UNPARSEcode) (any, bool,
|
||||
}, true, ArErr{}, countIndex
|
||||
}
|
||||
|
||||
var mutex = sync.RWMutex{}
|
||||
var listenersMutex = sync.RWMutex{}
|
||||
|
||||
func Map(m anymap) ArObject {
|
||||
var mutex = sync.RWMutex{}
|
||||
var listenersMutex = sync.RWMutex{}
|
||||
var currentID uint32 = 0
|
||||
listeners := map[any]map[uint32]any{}
|
||||
obj := ArObject{
|
||||
|
||||
Reference in New Issue
Block a user