lua-users home
lua-l archive

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


On Mon, 2005-01-31 at 17:02, David Olofson wrote:

> However, my point is that even with inline special cases like those in 
> Lua, and those I used to have in EEL, still involve some conditionals 
> - and those waste large numbers of cycles very frequently.

I do not disagree -- I just don't know. What I do know is
that both users and language developers tend to be conservative,
and rightly so. Thus a proposal needs to be fairly convincing
that losses are small and those are worthwhile.

> It should also be noted that VM instruction decoding burns a major 
> part of the cycles when doing simple operations like this, so +/-50% 
> on the actual operation isn't going to impact overall performance all 
> that much.

This may not matter: the number of CPU cycles hardly counts
compared with cache spills.

-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net