Small performance hack

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3401 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1998-12-07 11:58:44 +00:00
parent 8c43926ae3
commit b0146d57c0
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Mon Dec 7 12:15:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Tools/make_services.m: Serialize cache info in compact format
(uniquing dictionary key strings) for better performance.
Sun Dec 6 20:35:00 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* NSWorkspace.m: Fixed error in application cache path setup.

View file

@ -80,6 +80,8 @@ main(int argc, char** argv)
exit(0);
}
[NSSerializer shouldBeCompact: YES];
serviceMap = [NSMutableDictionary dictionaryWithCapacity: 64];
filterMap = [NSMutableDictionary dictionaryWithCapacity: 66];
printMap = [NSMutableDictionary dictionaryWithCapacity: 8];