]> git.tdb.fi Git - libs/datafile.git/commit
More efficient way of loading binary files
authorMikko Rasa <tdb@tdb.fi>
Mon, 5 Aug 2013 11:56:26 +0000 (14:56 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 5 Aug 2013 11:59:29 +0000 (14:59 +0300)
commit3b78eeb8b92dc3524d6a0456b4daf0a0f3dbf813
tree71cb2a7828ad0b061c7c08f1b57e5baba26dae23
parenta82776d980239e48d2b509d33b56e77a1ea44dda
More efficient way of loading binary files

The Variant array for storing arguments in Statement is too slow.  Bypass
it by passing args directly to the action in a sort of ad-hoc struct.
13 files changed:
source/argumentstore.cpp [new file with mode: 0644]
source/argumentstore.h [new file with mode: 0644]
source/binaryparser.cpp
source/binaryparser.h
source/loader.cpp
source/loader.h
source/loaderaction.h
source/parser.cpp
source/parser.h
source/parsermode.h
source/statement.cpp
source/statement.h
source/type.h