Commit Graph

9 Commits

Author SHA1 Message Date
Robin Wellner
0c42f20f63 Apply ivan's optimisation
Thanks to Ivan (2DEngine.com), who wrote this and convinced me it was
a good idea.

This change in writing tables results in up to 20% faster
serialization in common cases, and doesn't significantly affect
performance in contrived cases.
2015-05-25 14:15:58 +02:00
Robin Wellner
48dbd6fdf3 Remove line of vestigial code 2015-05-21 14:04:33 +02:00
Robin Wellner
f397c73f77 Fix typo 2015-05-20 02:22:35 +02:00
Robin Wellner
c6d9904da7 Merge branch 'master' of https://github.com/gvx/Ser 2015-05-20 02:18:05 +02:00
Robin Wellner
599c25f154 Strip whitespace where possible
This can save a lot of space (in one case bringing the serialized size
down from 11.5MB to 8.6MB).
2015-05-20 02:13:34 +02:00
Robin Wellner
4fa4b2132a More precision for numbers
Thanks to cohadar
https://love2d.org/forums/viewtopic.php?f=4&t=80157&start=10#p183885
2015-05-08 10:43:06 +02:00
Robin Wellner
8cf0f0df6e Add support for lots of tables (> 200)
Now only a single variable is used (_).

What effect does this have on the file size and runtime? I have no idea.
I don't think it'll be *that* much, though.
2014-12-23 23:56:46 +01:00
Robin Wellner
e518b74cea Close #1
Thanks, @CDSoft
2014-01-26 10:54:43 +01:00
Robin Wellner
736ec710fc Initial commit 2013-11-03 22:50:05 +01:00