You are here: Re: [PHP] PHP 5.1 vm « PHP « IT news, forums, messages
Re: [PHP] PHP 5.1 vm

Posted by "Richard Lynch" on 07/07/05 04:17

On Wed, July 6, 2005 5:35 pm, Dan Rossi said:
>
> On 07/07/2005, at 10:26 AM, Richard Lynch wrote:
>> "slow" switch
>
> You're a funny man Richard. So how is there overhead using callbacks if
> you dont mind me asking ?

I believe the callbacks imply a function stack, pushing/popping arguments,
and some pointer-chasing arithmetic to figure out where the callback-ed
function *IS* so it can JUMP to it...

Maybe the compiler can pre-compute all that crap, in theory, since all the
opcodes are constants, but I doubt it...

Maybe I'm grossly misleading y'all.

That compiler class I took *was* over a decade ago... :-^

Still got the book on my shelf. That don't mean I'm gonna read that
sucker. Though, as I recall, it was the second best textbook I ever read.

--
Like Music?
http://l-i-e.com/artists.htm

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация