ChaiScript icon indicating copy to clipboard operation
ChaiScript copied to clipboard

Serialize and deserialize objects fast

Open maratnek opened this issue 3 years ago • 0 comments

Hi! I found JSON serialize. But it takes a lot of time. Maybe exist a possibility for serialized ChaiScript object to bytecode and back. for example in c++ I can do:

struct MyStruct{...} my_struct;
std::string( reinterpret_cast<char*>(&my_struct), sizeof my_struct )

Br, Marat

maratnek avatar Sep 23 '21 08:09 maratnek