Skip to content
  • Alexander Neundorf's avatar
    · c5706b01
    Alexander Neundorf authored
    avoid reading all schema files on startup, reduces startup time here from
    1.9 to 1.8 sec
    I thought I had already done this some time ago, but somebody (was it me ?)
    inserted a sort() in updateAllSchemaTimes(), which forced the files to be
    read. Additionally the file contents where read in the Schema() ctor, I'm
    sure this wasn't there the last time I had a look at it. That's what
    m_fileRead is for.
    In konsole.cpp a colors->sort(); had to be inserted for the removed one from
    updateAllSchemaTimes();
    
    The KApplication ctor takes almost 0.5 sec :-(
    Well, at least 0.1 sec are reading config files
    
    Alex
    
    svn path=/trunk/kdebase/konsole/; revision=124470
    c5706b01