• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: parsing a large text file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: parsing a large text file


  • Subject: Re: parsing a large text file
  • From: Kevin Bradley <email@hidden>
  • Date: Sat, 8 Jul 2006 15:12:20 -0500


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:
This email sent to email@hidden


  • Prev by Date: Indesign layer stacking method? / is there a over 31 characters file path handler? / up one folder command?
  • Next by Date: Re: Indesign layer stacking method? / is there a over 31 characters file path handler? / up one folder command?
  • Previous by thread: Re: parsing a large text file
  • Next by thread: Re: parsing a large text file
  • Index(es):
    • Date
    • Thread