[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How strict is Lua in honoring collectgarbage() and its subcommands?
- From: Tim Hill <drtimhill@...>
- Date: Thu, 28 May 2015 17:19:49 -0700
> On May 28, 2015, at 1:01 PM, Brigham Toskin <email@example.com> wrote:
> Hey all.
> I've been prototyping several different implementations of lisp-style linked lists. To get an idea of their performance characteristics, I wrote a series of braindead but probably indicative micro benchmarks.
> Now, because I'm trying to get a feel for how the manipulations themselves perform in isolation, I am passing "stop" to collectgarbage() between tests, collecting my data, then using the "restart" command and running two full passes of the gc to clean up before the next test.
> Thoughts? Am I approaching my measurements completely wrong?
> Brigham Toskin
Can you post sample code?