Re: cvs: php-src / NEWS /ext/standard basic_functions.cconfig.m4 php_uuencode.h uuencode.c
| From: | Ilia Alshanetsky | Date: | Mon, 27 Oct 2003 16:45:22 +0000 |
| Subject: | Re: cvs: php-src / NEWS /ext/standard basic_functions.cconfig.m4 php_uuencode.h uuencode.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-24316@lists.php.net to get a copy of this message | ||
Moriyoshi,
I originally had a uuencode filter, however with the current code I get a far
superior performance by being to do certain tricks such as pre-allocation.
The most common place uuencoded strings are found are mail & nntp. In those
cases the data usually comes is a form of a string rather then a stream,
because the entire uuencoded bit has to be 1st parsed out.
So, I think the current code has it own merits. That said for 'completion'
purposes having uu* stream filter is not a bad idea.
Ilia
On October 27, 2003 09:57 am, Moriyoshi Koizumi wrote:
> Ilia,
>
> Could you give me some time to reimplement uu*code function to be more
> suitable for stream operations? Maybe it'd be a good idea to make them
> available as stream filters also.
>
> BTW, as for their names, I prefer convert_uu_encode() /
> convert_uu_decode(), as I'm thinking of introducing more generic string
> conversion facility.
>
> Moriyoshi
>
> "Ilia Alshanetsky" <iliaa@php.net> wrote:
> > iliaa Mon Oct 27 00:35:42 2003 EDT
> >
> > Added files:
> > /php-src/ext/standard uuencode.c php_uuencode.h
> >
> > Modified files:
> > /php-src NEWS
> > /php-src/ext/standard basic_functions.c config.m4
> > Log:
> > Added uuencode() & uudecode() functions.
> >
> >
> >
> > --------------------------------------------------
> >
> > --
> > PHP CVS Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php