I have a giant 2D array of numbers. I can write them to a file in rows and columns just the way I want by iterating through the contents of rows but looping through the array is time consuming. So, I was wondering if there is an efficient way to this.
A loop is not inefficient. See my reply to this thread for an efficient way of minimizing disk I/O.
Best Regards,
BioPhysEngr http://blog.biophysengr.net
--
All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.
Bookmarks