PSN-L Email List Message

Subject: Re: Basic Programming Help desired?
From: Mark Robinson mark.robinson@...............
Date: Mon, 05 May 2008 17:21:45 +1200

Geoff wrote:
> Hello PSN Peoples;
> I am trying to make a routine
> that will save an array of single
> bytes to a raw data file on the hard
> drive and do this as quickly as possible.
> Below you will see a routine that works
> very well for me but its too darn slow.
> When the program enters this routine
> it will linger for many seconds
> appearently converting the data array
> into the strings before eventually
> actually saving the data into the file.
> I do not understand the terrible long
> time this routine seems to take.
> Can someone with more experience
> please tell me what Im doing wrong
> that takes so long ( literally several
> seconds for only 32770 bytes total) to complete.
> I would like a speed that rivals a BSAVE command.

Your first mistake is using Basic.

This will be between 10 and 1000 times slower than a compiled language.


Public Seismic Network Mailing List (PSN-L)

[ Top ] [ Back ] [ Home Page ]