[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Memory usage stats for 5.2 vs 5.3
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 13 Jan 2015 10:00:12 -0200
> 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