Re: cvs: pear /HTTP_Header Header.php
| From: | Pierre-Alain Joye | Date: | Tue, 09 Dec 2003 19:42:43 +0000 |
| Subject: | Re: cvs: pear /HTTP_Header Header.php | ||
| References: | 1 2 3 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-14742@lists.php.net to get a copy of this message | ||
On Tue, 09 Dec 2003 20:22:02 +0100
Wolfram Kriesing <lists@kriesing.de> wrote:
> i appreciate it. but i dont know if that really optimizes it for the
> realistic number of headers you normally set, like 1 to approx. 10. I
> think the array_* functions might produce the same performance loss
> ... even though you are right for may be thousands of headers i think
> that would make sense ... am i right?
That makes a little diff, but obviously drop the test when you want to
send all headers (which is the case in most situations no?) :)
That said, this kind of tools is usefull to create tools. They use to
manage tons of cases (or this is not real tests tools ;). For instance,
in my test suites, using (only) 1200 entries (12 headers sent 100x), my
little change make the test runs 4x faster.
pierre