Nathan Nobbe wrote:
umm, so whats going on here is the implicit component of the statement
that incorporates relative or absolute performance. in terms of
relative performance the statement is accurate; in terms of absolute
performance, its quite inaccurate.
Nathan, I think we're
On Sun, Apr 20, 2008 at 6:50 AM, Per Jessen [EMAIL PROTECTED] wrote:
Nathan Nobbe wrote:
umm, so whats going on here is the implicit component of the statement
that incorporates relative or absolute performance. in terms of
relative performance the statement is accurate; in terms of
On Sun, 2008-04-20 at 14:17 -0400, Nathan Nobbe wrote:
On Sun, Apr 20, 2008 at 6:50 AM, Per Jessen [EMAIL PROTECTED] wrote:
Nathan Nobbe wrote:
umm, so whats going on here is the implicit component of the statement
that incorporates relative or absolute performance. in terms of
On Sun, Apr 20, 2008 at 2:34 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
On Sun, 2008-04-20 at 14:17 -0400, Nathan Nobbe wrote:
On Sun, Apr 20, 2008 at 6:50 AM, Per Jessen [EMAIL PROTECTED] wrote:
Nathan Nobbe wrote:
umm, so whats going on here is the implicit component of the
On Sun, 2008-04-20 at 14:41 -0400, Nathan Nobbe wrote:
On Sun, Apr 20, 2008 at 2:34 PM, Robert Cummings [EMAIL PROTECTED]
wrote:
On Sun, 2008-04-20 at 14:17 -0400, Nathan Nobbe wrote:
On Sun, Apr 20, 2008 at 6:50 AM, Per Jessen [EMAIL PROTECTED] wrote:
Nathan Nobbe wrote:
Nathan Nobbe wrote:
On Fri, Apr 18, 2008 at 11:25 AM, Nick Stinemates
[EMAIL PROTECTED] wrote:
I don't think there was a single place where I said PHP was faster
than C, nor did I imply it.
Depends. Shitty algorithms are shitty, regardless of language
implementation.
implies that
On Sat, 2008-04-19 at 13:08 +0200, Per Jessen wrote:
Nathan Nobbe wrote:
On Fri, Apr 18, 2008 at 11:25 AM, Nick Stinemates
[EMAIL PROTECTED] wrote:
I don't think there was a single place where I said PHP was faster
than C, nor did I imply it.
Depends. Shitty algorithms are
Robert Cummings wrote:
You are correct about asymptotic bounds on algorithms; however,
languages can still have a constant multiplier affect on an algorithm.
Absolutely. When it comes to how long does it take to process 1000
elements, both language and hardware are critical factors. But the
On Saturday 19 April 2008, Per Jessen wrote:
Robert Cummings wrote:
You are correct about asymptotic bounds on algorithms; however,
languages can still have a constant multiplier affect on an algorithm.
Absolutely. When it comes to how long does it take to process 1000
elements, both
On Sat, Apr 19, 2008 at 7:08 AM, Per Jessen [EMAIL PROTECTED] wrote:
Nathan Nobbe wrote:
On Fri, Apr 18, 2008 at 11:25 AM, Nick Stinemates
[EMAIL PROTECTED] wrote:
I don't think there was a single place where I said PHP was faster
than C, nor did I imply it.
Depends. Shitty
* at 17/04 16:30 -0500 Daniel Kolbo said:
Hello,
I am writing a PHP script for a local application (not web/html
based). My script is taking a longer time to execute than I want. The
source code is a few thousand lines, so I will spare you all this
level of detail.
I prefer to write in
Daniel Kolbo wrote:
If I wrote the console application in a c language (and compiled)
would one expect to see any improvements in performance? If so, how
much improvement could one expect (in general)?
You haven't given us much to work with, so it's a wild guess, but I
think you'd probably
Struan Donald wrote:
* at 17/04 16:30 -0500 Daniel Kolbo said:
Hello,
I am writing a PHP script for a local application (not web/html
based). My script is taking a longer time to execute than I want. The
source code is a few thousand lines, so I will spare you all this
level of detail.
I
On Fri, Apr 18, 2008 at 10:53 AM, Daniel Kolbo [EMAIL PROTECTED] wrote:
Struan Donald wrote:
* at 17/04 16:30 -0500 Daniel Kolbo said:
Hello,
I am writing a PHP script for a local application (not web/html
based). My script is taking a longer time to execute than I want.
On Fri, Apr 18, 2008 at 9:33 AM, Eric Butera [EMAIL PROTECTED] wrote:
Like I said before, since you know that most of your time is in a
specific part of your script, just move that function into a custom
extension written in c/c++.
http://talks.php.net/show/extending-php-apachecon2003/0
On Fri, Apr 18, 2008 at 11:36 AM, Nathan Nobbe [EMAIL PROTECTED] wrote:
On Fri, Apr 18, 2008 at 9:33 AM, Eric Butera [EMAIL PROTECTED] wrote:
Like I said before, since you know that most of your time is in a
specific part of your script, just move that function into a custom
extension
On Thu, Apr 17, 2008 at 04:30:00PM -0500, Daniel Kolbo wrote:
Hello,
I am writing a PHP script for a local application (not web/html based). My
script is taking a longer time to execute than I want. The source code is
a few thousand lines, so I will spare you all this level of detail.
I
On Thu, Apr 17, 2008 at 5:46 PM, Nick Stinemates [EMAIL PROTECTED]
wrote:
If I wrote the console application in a c language (and compiled) would
one
expect to see any improvements in performance? If so, how much
improvement
could one expect (in general)?
Depends. Shitty algorithms are
= C O D E ===S T AR T
//this function is essentially a search and remove function for a nested
array
foreach ($arr as $key = $value) {
//count($arr) == 3
foreach ($value as $key2 = $value2) {
//0=count($value) =1000
foreach($arr2 as
On Fri, Apr 18, 2008 at 09:58:14AM -0600, Nathan Nobbe wrote:
On Thu, Apr 17, 2008 at 5:46 PM, Nick Stinemates [EMAIL PROTECTED]
wrote:
If I wrote the console application in a c language (and compiled) would
one
expect to see any improvements in performance? If so, how much
Nick Stinemates wrote:
The point I was making is simple, if you have a shitty algorithm
(which is the case for our op) expect shitty performance.
Agree completely, that's the case in a nutshell.
There's no doubt you will gain performance moving to C, but, if
properly designed, you have a
On Fri, Apr 18, 2008 at 11:25 AM, Nick Stinemates [EMAIL PROTECTED]
wrote:
I don't think there was a single place where I said PHP was faster than
C, nor did I imply it.
Depends. Shitty algorithms are shitty, regardless of language
implementation.
implies that the same algorithm in
Hello,
I am writing a PHP script for a local application (not web/html based).
My script is taking a longer time to execute than I want. The source
code is a few thousand lines, so I will spare you all this level of
detail.
I prefer to write in PHP because that is what I know best.
On Thu, Apr 17, 2008 at 3:30 PM, Daniel Kolbo [EMAIL PROTECTED] wrote:
Hello,
I am writing a PHP script for a local application (not web/html based).
My script is taking a longer time to execute than I want. The source code
is a few thousand lines, so I will spare you all this level of
On Thu, Apr 17, 2008 at 5:30 PM, Daniel Kolbo [EMAIL PROTECTED] wrote:
Hello,
I am writing a PHP script for a local application (not web/html based). My
script is taking a longer time to execute than I want. The source code is a
few thousand lines, so I will spare you all this level of
25 matches
Mail list logo