lua-users home
lua-l archive

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

---------- Forwarded message ----------
From: "Glenn Edgar" <>
Date: Sep 17, 2016 22:30
Subject: Ziplists. Usefull for readonly tables and embedded processors
To: "Lua list" <>

Redis uses ziplists to store small hashes and lists.  Reason is that it save memory with link list pointers and heap overhead pointers.

Ziplists may be usefull for storing readonly data structures as the zip list would be a continuos chunk of memory.  The ziplist could be in flash or loaded from a file.

My main motivation is in the area of small micro controllers with limited ram but much more flash.  For readonly and small objects, the ziplist may extend lua's effectiveness in this area.