]> granicus.if.org Git - taglib/commit
Several optimizations that came from KCacheGrind / calltree fun.
authorScott Wheeler <wheeler@kde.org>
Wed, 7 Apr 2004 06:00:05 +0000 (06:00 +0000)
committerScott Wheeler <wheeler@kde.org>
Wed, 7 Apr 2004 06:00:05 +0000 (06:00 +0000)
commit15d3c3c71aa534dfd087273712f9e720a23f63ab
treee409888306dbfced6577be3dd23ca955f661ffdc
parent1bc8909bbaa4c3a8367d94f9ffdd5722c735fbc1
Several optimizations that came from KCacheGrind / calltree fun.
Basically they fall into the categories:
- Don't convert things before you need to
- When you do, use more effecient copy constructors / assignment operators
  (i.e. when copying prefer memcpy to a for loop and when that's not possible
  use an iterator instead of operator[])

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@301896 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
mpeg/id3v2/id3v2framefactory.cpp
mpeg/id3v2/id3v2framefactory.h
toolkit/tbytevector.cpp
toolkit/tstring.cpp