i am using iniread and iniwrite to basically save the state of a program i have written (saving and loading the values of all the important variables)
I would prefer to use iniread and iniwrite so that my files will state the variable names and their value so they are readable
The problem is that i am reading and writing hundreds of variables and it takes several seconds, where as i have used filereading loops that parse files a million lines long (literally) in a fraction of a second. I think the problem is that iniread/write does not keep the file i am reading from open, and this makes everything very slow.
is there a way to use iniread/write but keep the file open until my filereading loop is complete?
update: iniread and write are built in windows functions so they cannot be sped up. this post is useful:
http://www.autohotkey.com/forum/topic5127.html