Speed up by an order of magnitude the loading of new ctrl/????.ini files
By using the new iniCutSection() function primarily, parse and consume each .ini file section, reducing the search area (ini content/list) for each section consumed. The use of iniFreeStringList() intead of strListFree() appeared to have some benefit to performance as well, likely due to a DLL heap dance. This brought the file.ini file loading on Vertrauen (8518 lines) down from 10+ seconds (on Windows over SMB/1Gb link to a Samba sever) to less than one scond.
This diff is collapsed.
Please register or sign in to comment