[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Memory leak?



At 11.41 12/9/97, Strider wrote:
>Well, I'm trying to take records which are exactly the same as one another
>and delete, say, the 'second' record that it finds. Again, I suppose I
>could do this simply with s//, but I thought that would probably be slower-
>actually processing the data instead of just moving it around. Am I right?

Actually, search-and-replace is pretty darn fast.  But it would only be
really efficient if duplicate entries came consecutively in the file.

--
Chris Nandor               pudge@pobox.com           http://pudge.net/
%PGPKey=('B76E72AD',[1024,'0824 090B CE73 CA10  1FF7 7F13 8180 B6B6'])
#==                    MacPerl: Power and Ease                     ==#
#==    Publishing Date: Early 1998. http://www.ptf.com/macperl/    ==#



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch