surrealpatch/util/keys
Tobie Morgan Hitchcock 001d7f866c Prevent datarace, by not using global variable when decoding
Don’t use the global variable ‘skip’ to decode into, as this causes a data race, when decoding keys from inside multiple different goroutines. Instead we now create a new string variable for every decode function, which will be created on the heap and ignored when the function returns.
2017-12-01 00:34:44 +00:00
..
db.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
decode.go Improve efficiency of database key encoding and decoding 2017-11-16 20:18:42 +00:00
dt.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
du.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
edge.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
encode.go Improve efficiency of database key encoding and decoding 2017-11-16 20:18:42 +00:00
ev.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
fd.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
field.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
ft.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
full_test.go Add Copy() method to all keys for efficiently duplicating a key 2017-11-16 20:16:51 +00:00
index.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
ix.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
keys.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
keys_test.go Improve efficiency of database key encoding and decoding 2017-11-16 20:18:42 +00:00
kv.go Add Copy() method to all keys for efficiently duplicating a key 2017-11-16 20:16:51 +00:00
lv.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
ns.go Add Copy() method to all keys for efficiently duplicating a key 2017-11-16 20:16:51 +00:00
nt.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
nu.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
output.go Improve efficiency of database key encoding and decoding 2017-11-16 20:18:42 +00:00
patch.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
point.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
reader.go Improve efficiency of database key encoding and decoding 2017-11-16 20:18:42 +00:00
sc.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
st.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
table.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
tb.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
thing.go Prevent datarace, by not using global variable when decoding 2017-12-01 00:34:44 +00:00
writer.go Remove the need for the ‘unsafe’ package when encoding keys 2017-11-30 00:59:10 +00:00