[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: [ANN] revisited version of DataDumper (Now ASCII compatible!)
- From: Sebastien Lai <237482@...>
- Date: Sat, 1 Oct 2011 02:10:20 +0200
After being a little unsatisfied with the data yielded by datadumper
(http://lua-users.org/wiki/DataDumper), I sat down, and rewrote it
The new version, including introductory text can be found here:
The most important two changes are probably the revisited
string-serialization, which escapes non-ascii characters (thus making
it possible to save the data in plaintext files, even data returned by
string.dump), and the argument 'ignore_undumpable', which will replace
non-dumpable values with placeholders, and thus allows dumping tables
that are full of natively referenced data, like _G. The argument
'ignore_nundumpable' also resulted in the removal of 'fastmode', which
seemed pointless anyway.
License and copyright is the same (but mostly because I would release
it as public domain anyway, and REALLY don't care ;-)).
: Even with Vanilla Lua and extremely huge tables, DataDumper is
still able to dump it very quickly. Unless you've got to dump 2GB+ of
data, of course...