[Kstars-devel] kdeedu/kstars/kstars

Thomas Kabelmann tk78 at gmx.de
Wed May 26 14:46:46 CEST 2004


CVS commit by kabelmann: 

Don't store often used name strings (like "star") everytime in memory. I've made often used strings to static class members, so they are stored once in memory and every object which uses this string doesn't need to store a string. This reduces the memory consumption by 17 MB with magnitude level 10.0. A nice side effect is, that the application starts 2 seconds faster than before.

CCMAIL: kstars-devel at kde.org


  M +3 -8      kstarsdata.cpp   1.132
  M +43 -16    skyobject.cpp   1.40
  M +26 -12    skyobject.h   1.39
  M +13 -17    starobject.cpp   1.23
  M +11 -2     starobject.h   1.20





More information about the Kstars-devel mailing list