[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: A very basic thing I don't get
- From: Axel Kittenberger <axkibe@...>
- Date: Mon, 3 Oct 2011 10:34:19 +0200
> For the sake of the poor newbies who do not realize that Pascal is
> being sarcastic: Roberto means "O(1) per item", of course.
In the same sake, expressing O() for space hardly makes sense. I don't
know any datastructure where this isn't 1 and suppose any other than 1
would be ridiculous. Expressed as constant factor I estimate Lua
varies between 1-1.5 (everything in array part, maybe add 1,5 for Lua
type headers), and 4 (*1,5) (everything in hash part, 2 for storing
keys, 2 for the hashtable just having load of 50%).
- References:
- A very basic thing I don't get, Thijs Koerselman
- Re: A very basic thing I don't get, Peter Cawley
- Re: A very basic thing I don't get, Stefan Reich
- Re: A very basic thing I don't get, Michal Kottman
- Re: A very basic thing I don't get, Stefan Reich
- Re: A very basic thing I don't get, Philippe Lhoste
- Re: A very basic thing I don't get, steve donovan
- Re: A very basic thing I don't get, Roberto Ierusalimschy
- Re: A very basic thing I don't get, Pascal J. Bourguignon
- Re: A very basic thing I don't get, Dirk Laurie