Project

General

Profile

« Previous | Next » 

Revision 0687fa21

Added by danij over 13 years ago

Don't use Str_Copy in PathDirectory::internName as this makes a "full copy", allocating storage equal to the reserved size in the source string.

My first thought was to implement a "squeeze" method (in Qt parlance) but as ddstring_t allocates from the Zone and the fact many subsystems rely on the ability to simply "forget" about them - I figured it best to leave it alone, instead of needlessly fragmenting the Zone for a few bytes per string.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences