Hi guys,
I have taken over a program (which graphically shows some analysis of data) which is rather slow and I was wondering if anyone has any tips on making it quicker.
On running the program, it reads in a text file using line input (the file contains a header line which explains the structure of each subsequent record) into a string array - myRecord(i)
That part isn't slow but the next is.
Each analysis routine when run reads through each record in the myRecord(i) string and extracts the relevant bits of data using Mid.
I've heard that converting to a byte array would help - does anyone know how I would go about this or if there are other better ways?
Thanx in advance,
RSGB
I have taken over a program (which graphically shows some analysis of data) which is rather slow and I was wondering if anyone has any tips on making it quicker.
On running the program, it reads in a text file using line input (the file contains a header line which explains the structure of each subsequent record) into a string array - myRecord(i)
That part isn't slow but the next is.
Each analysis routine when run reads through each record in the myRecord(i) string and extracts the relevant bits of data using Mid.
I've heard that converting to a byte array would help - does anyone know how I would go about this or if there are other better ways?
Thanx in advance,
RSGB