lua-users home
lua-l archive

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


> Thought I'd share some memory usage numbers from my tests of 5.3.0
> (rc4) compared to 5.2.3. [...]

Can you do a little experiment?

- In 5.2.3, do the following change in file lobject.h: 

--- lobject.h	2013/04/12 18:48:47	2.71.1.1
+++ lobject.h	2015/01/13 11:55:58
@@ -414,6 +414,7 @@
     lu_byte extra;  /* reserved words for short strings; "has hash" for longs */
     unsigned int hash;
     size_t len;  /* number of characters in string */
+    void *dummy;
   } tsv;
 } TString;
 
Then, recompile Lua 5.2.3 and redo your measurements.

Many thanks,

-- Roberto