Re: [PHP-DEV] function table / hashes

2001-04-27 Thread Andi Gutmans
At 01:10 PM 4/27/2001 +0100, Wez Furlong wrote: >On 2001-04-27 11:27:55, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > > At 12:03 AM 4/27/2001 -0400, David Croft wrote: > > > > >Thank you Andi and Andrei. > > > > > >I have noticed that object method callbacks are consistently faster >than > > >globa

Re: [PHP-DEV] function table / hashes

2001-04-27 Thread Wez Furlong
On 2001-04-27 11:27:55, "Andi Gutmans" <[EMAIL PROTECTED]> wrote: > At 12:03 AM 4/27/2001 -0400, David Croft wrote: > > >Thank you Andi and Andrei. > > > >I have noticed that object method callbacks are consistently faster than > >global function callbacks, and was wondering why: Perhaps because

Re: [PHP-DEV] function table / hashes

2001-04-27 Thread Andi Gutmans
At 12:03 AM 4/27/2001 -0400, David Croft wrote: >Thank you Andi and Andrei. > >I have noticed that object method callbacks are consistently faster than >global function callbacks, and was wondering why: > >1.3135770559311 seconds for 10 runs - with no function callback >6.9758139848709 second

[PHP-DEV] function table / hashes

2001-04-26 Thread David Croft
Thank you Andi and Andrei. I have noticed that object method callbacks are consistently faster than global function callbacks, and was wondering why: 1.3135770559311 seconds for 10 runs - with no function callback 6.9758139848709 seconds for 10 runs - with object method callback 7.90487

Re: [PHP-DEV] function table

2001-04-26 Thread Andi Gutmans
At 02:16 PM 4/26/2001 -0400, David Croft wrote: >Hello, I'm implementing an extension that allows user callbacks. > >The Zend API document suggests using the Compiler globals to access the >function table. However I see the XML extension is using Executor globals. During execution the correct ta

Re: [PHP-DEV] function table

2001-04-26 Thread Andrei Zmievski
On Thu, 26 Apr 2001, David Croft wrote: > > Hello, I'm implementing an extension that allows user callbacks. > > The Zend API document suggests using the Compiler globals to access the > function table. However I see the XML extension is using Executor globals. > > Which is correct? is there a

[PHP-DEV] function table

2001-04-26 Thread David Croft
Hello, I'm implementing an extension that allows user callbacks. The Zend API document suggests using the Compiler globals to access the function table. However I see the XML extension is using Executor globals. Which is correct? is there a difference? If I were to take a wild guess I'd say the