Re: cvs: phpweb /include manual-lookup.inc
| From: | Wez Furlong | Date: | Wed, 14 May 2003 17:48:40 +0000 |
| Subject: | Re: cvs: phpweb /include manual-lookup.inc | ||
| References: | 1 2 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-17647@lists.php.net to get a copy of this message | ||
This is still much better than triggering so many syscalls; the next
thing to optimize is the actual manual pages themselves before trying to
optimize this particular function any more than it is already.
--Wez.
On Wed, 14 May 2003, Gabor Hojtsy wrote:
> > + $langs = ($lang != 'en') ?
> > + array(sqlite_escape_string($lang), 'en') :
> > + array('en');
> >
> > - if ($lang != 'en') {
> > - $langs = array(sqlite_escape_string($lang), 'en');
> > - } else {
> > - $langs = array('en');
> > - }
> > foreach ($langs as $lang) {
>
> Are there any plans to support more langs here? Iterating through a
> one-element array does not seem to be too efficient for me, given your
> fine speed increase improvements.
>
> Goba
>
>
>