core: variable names may now contain embedded nulls
commitd4cd7cabc6359bf5e1af8ce0219e621ae0ec3d86
authorSteve Bennett <steveb@workware.net.au>
Sun, 31 May 2020 07:31:55 +0000 (31 17:31 +1000)
committerSteve Bennett <steveb@workware.net.au>
Fri, 5 Jun 2020 11:13:11 +0000 (5 21:13 +1000)
tree98d160b6903044aaf50d7595b078b1d8ab3276bd
parentfdefefa4e655be612df2ac036d57223b8c9cbc0a
core: variable names may now contain embedded nulls

Hash tables used to store variables are now use Jim_Obj keys rather
than allocated char *, so embedded nulls are supported.

This is generally a performance win as the existing Jim_Obj can be used
as the key.

Signed-off-by: Steve Bennett <steveb@workware.net.au>
jim.c
jim.h
tests/alias.test
tests/coverage.test
tests/dict2.test
tests/misc.test
tests/pack.test