Forum Discussion
AlexKaras
Champion Level 2
11 years agoHi,
My guess is that the major time penalty is because of this line
var lIni = Storages.INI(...);
been executed 50 times. I think so because this line results in file open OS operation which may be resource-consuming (for example, if the file is large and is located on the network resource).
ChrisPro
11 years agoContributor
There is no difference.
- joseph_michaud11 years ago
Staff
I tried a simple test reading 50 options entries in a section all at once, and then again where I opened the INI file, searched for the section/option 50 separate times.
Both tests took less than second.
Perhaps you could post your code and attach the INI file so that we could take a look.
- mes607311 years agoContributor
I would suggest you consider migrating that Ini file to an XML.