Revision 22a28ab3
Added by danij about 12 years ago
Files
- added
- modified
- copied
- renamed
- deleted
- doomsday
- engine
- api
- engine.pro (diff)
- portable
- include
- pathmap.h
- pathtree.h (diff)
- src
- con_data.cpp (diff)
- def_main.cpp (diff)
- file.cpp (diff)
- fonts.cpp (diff)
- fs_main.cpp (diff)
- lumpindex.cpp (diff)
- pathmap.cpp
- pathtree.cpp (diff)
- pathtreenode.cpp (diff)
- sys_reslocator.cpp (diff)
- uri.cpp (diff)
- wad.cpp (diff)
- zip.cpp (diff)
- include
- engine
Uri|Refactor: Integrated PathMap functionality
The PathMap class implemented a string subsection map, allowing said
subsections (named "fragments") to be more easily referenced without
dynamically allocating a bunch of additional strings or passing around
pairs of indices. These "fragments" of also incorporated a name hash
cache which was used to accelerate file system performance.
Uri now incorporates all previous functionality of PathMap.
The redundant PathMap has now been dumped (there is no longer a need
for this as an independent class given there are better alternatives
available in Qt).
Todo: Revise the implementation (Qt's QStringRef should be useful).
Todo: Cleanup.