mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 13:10:59 +00:00
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:
parent
8c43926ae3
commit
b0146d57c0
2 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue