in reply to Re: Encode quotes except in HTML?
in thread Encode quotes except in HTML?
I've noticed join "",<HANDLE> several times recently and just got curious exactly how much slower that is than the way I'd do it: local($/)= undef; <HANDLE>
For 32KB of data, I get the join method being about 8 times slower than the "slurp" method. But they both read that 32KB in under 1/100th of a second and the join method can be written as a simple expression while doing so for the slurp method gets tricky. So I can certainly see going for the join method in some cases.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Re: Encode quotes except in HTML?
by runrig (Abbot) on Sep 18, 2000 at 23:41 UTC | |
by tye (Sage) on Sep 19, 2000 at 00:00 UTC | |
by merlyn (Sage) on Sep 18, 2000 at 23:43 UTC |