Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parsing a large text file




On Jul 8, 2006, at 9:55 AM, Emmanuel wrote:

What version of AppleScript do you have?  Did you mean 32mb or 32k?
Older version of AppleScript had a 32k limit.  If you're reading 32
_MB_ then you're reading a HUGE file by AS standards, and it will
take a VERY long time to parse.

Not a VERY long time in my understanding. In my very limited experience I would say (of course YMMVM) a few seconds if you use the fastest shell tools such as grep, or Satimage osax (ASCII) or Smile (Unicode.) More seconds if you have to use the slower shell tools such as sed awk etc. (in the sense of "et cetera").


I was speaking of parsing in AS only. Yes, the shell tools are MUCH faster at this sort of thing.


Kevin Bradley
--
Nitewing '98
http://nitewing98.home.comcast.net

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.