[gambit-list] OBJ model loader for Gambit, serialization/deserialization examples

Marc Feeley feeley at iro.umontreal.ca
Mon Aug 3 20:06:56 EDT 2009


On 3-Aug-09, at 4:06 PM, James Long wrote:

> I also studied Gambit's serialization mechanisms using
> object->u8vector for compressing models and speeding up loading times.
> It turned out great!  You can find examples in my post.

Nice! I like your binary format where you use a single byte to  
indicate the length of the binary encoding of the *length* of the  
binary encoding of the object!  I usually write 4 bytes with the 32- 
bit length, but its much messier.  Neat idea!

Marc




More information about the Gambit-list mailing list