Hello!
On Wed, May 30, 2012 at 3:18 PM, Tzury Bar Yochay <tz...@reblaze.com> wrote:
> I am looking at the shared dict implementation and seeing that
> only primitive types can be used as values.
> Was there a particular reason why Lua table was not included as a possible
> value type?
Because Lua tables are hard (if not impossible) to transfer directly
between different Lua VMs that reside in different OS processes by
means of Nginx's shared memory :)
You need to serialize and deserialize your Lua tables yourself via lua
libraries like lua-cjson :)
Regards,
-agentzh
P.S. I'm cc'ing the openresty mailing list so that other people can
see this discussion :)