Re: Problem with reading 4-byte floats from file on Intel
Re: Problem with reading 4-byte floats from file on Intel
- Subject: Re: Problem with reading 4-byte floats from file on Intel
- From: Philip Aker <email@hidden>
- Date: Fri, 07 Dec 2007 01:26:20 -0800
On 2007-12-06, at 10:27, email@hidden wrote:
Problem is already solved, I wrote a quick C command line program
to do it.
As an aside I'd just like to mention that recently Nigel Garvey and I
conducted timing tests sorting lines of text read in from files on
disk. We compared AppleScript, Tcl, and some C code using CFArray and
CFDictionary. The CoreFoundation code was on average ~5 times faster
than either AppleScript or Tcl for a test file of about 1 Meg.
The CF facilities won't make any difference for your float situation
but if you ever have to deal with strings or other types of data more
complex than arrays of ints and floats, the CoreFoundation framework
utilities are an excellent choice.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden