lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Make it work, then worry about performance.. Most likely you'll figure out a vastly superior method halfway through..

(that's usually how things happen on my end)

Alexander Gladysh wrote:
If you need serialization, Pluto library
 (http://luaforge.net/projects/pluto/) is the right way to go. I've been
 using it a lot and its stable. You can serialize practically anything
 with it.

Is it fast? If I have to do serialization, I have to do it on each
task switch... Say, 512 tasks with 8 threads, with single update per
second -- that's 64 save/load operations per second if I'm not
mistaken. Looks like too much -- especially considering that some my
tasks are data-heavy.

Alexander.