Re: writing binary files
- From: John Bokma <john@xxxxxxxxxxxxxxx>
- Date: 4 Aug 2005 16:28:57 GMT
"mermadak" <mermadak@xxxxxxxxx> wrote:
>
> "John Bokma" <john@xxxxxxxxxxxxxxx> wrote in message
> news:Xns96A8BA198CF8castleamber@xxxxxxxxxxxxxx
>>> Also, the parts of this that really make it an issue is that the
>>> data is coming off of a DOS machine (so endian is a concern here
>>> right?) and is a rather large text file with a ton of scientific
>>> data points (from 500k to 5MB files).
>>
>> So basically you want to convert numbers in a text file to some short
>> binary notation?
>
> Exactly... any ideas?
Python or Perl, since your post referred to Python :-D
>> 5MB... you are aware that the current year is 2005? :-)
>
> Does that mean 5MB shouldn't be a problem???
Yup, your computer probably has 100 times as much memory.
> I originally tried writing a program to simply maniplute these files
> in my native programming languages of VB and C++ which would hang due
> to the size of these files.
If a C++ program would hang on 5MB files, how can programs handle 10M
MP3 files, or 700 MB movies?
> I finally found a PERL script that would
PERL is not an acronym :-)
> handle parsing this much data.
Again: 5MB is not much. My best guess is that you should rethink your
algoritm(s).
--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
.
- Follow-Ups:
- Re: writing binary files
- From: mermadak
- Re: writing binary files
- References:
- writing binary files
- From: mermadak
- Re: writing binary files
- From: John Bokma
- Re: writing binary files
- From: mermadak
- writing binary files
- Prev by Date: Re: How to write a Perl script to analyze the I/O dependency of a Verilog code?
- Next by Date: Re: "anonymous" variable in Perl?
- Previous by thread: Re: writing binary files
- Next by thread: Re: writing binary files
- Index(es):
Relevant Pages
|
|