Skip to content
  • Rob Swindell's avatar
    9f471427
    Speed up by an order of magnitude the loading of new ctrl/????.ini files · 9f471427
    Rob Swindell authored
    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.
    9f471427
    Speed up by an order of magnitude the loading of new ctrl/????.ini files
    Rob Swindell authored
    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.
Loading