mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 12:29:21 +02: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:
parent
02f249a1ad
commit
7b2203b621
@ -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 + '"');
|
||||
|
Loading…
Reference in New Issue
Block a user