mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-26 02:03:43 +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),
|
: zimFile(fname, std::ios::in | std::ios::binary),
|
||||||
- direntCache(512),
|
- direntCache(512),
|
||||||
- clusterCache(16)
|
- clusterCache(16)
|
||||||
+ direntCache(128),
|
+ direntCache(32),
|
||||||
+ clusterCache(4)
|
+ clusterCache(1)
|
||||||
{
|
{
|
||||||
if (!zimFile)
|
if (!zimFile)
|
||||||
throw ZenoFileFormatError(std::string("can't open zim-file \"") + fname + '"');
|
throw ZenoFileFormatError(std::string("can't open zim-file \"") + fname + '"');
|
||||||
|
Loading…
Reference in New Issue
Block a user