Added mem::safe_recursive_clone, and while it works for regex, it's actually slower then remaking it. Hmmmm, maybe because some of the stdlib is inefficent
This commit is contained in:
@@ -43,6 +43,9 @@ obj map<T,U> (Object) {
|
||||
keys.add(key)
|
||||
values.add(value)
|
||||
}
|
||||
fun contains_key(key: T): bool {
|
||||
return keys.contains(key)
|
||||
}
|
||||
fun get(key: T): U {
|
||||
return values.get(keys.find(key))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user