1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-07-01 02:33:51 +03:00

reduce memory requirements to a minimum because it's still using too much - however these changes may reduce performance even more

This commit is contained in:
Mirko Vogt 2009-11-14 00:03:28 +01:00
parent 02f249a1ad
commit 7b2203b621

View File

@ -6,8 +6,8 @@
: zimFile(fname, std::ios::in | std::ios::binary),
- direntCache(512),
- clusterCache(16)
+ direntCache(128),
+ clusterCache(4)
+ direntCache(32),
+ clusterCache(1)
{
if (!zimFile)
throw ZenoFileFormatError(std::string("can't open zim-file \"") + fname + '"');