Skip to content

Commit

Permalink
Cache: increase Rects cache size
Browse files Browse the repository at this point in the history
As we increased the size of RenderRectAccessor by 4 when
adding Enhanced Block Rendering (66dac2c).
  • Loading branch information
poire-z committed Feb 23, 2020
1 parent 0bdb284 commit 9f90509
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crengine/src/lvtinydom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ int gDOMVersionRequested = DOM_VERSION_CURRENT;
#define TEXT_CACHE_CHUNK_SIZE 0x008000 // 32K
#define ELEM_CACHE_UNPACKED_SPACE (45*DOC_BUFFER_SIZE/100)
#define ELEM_CACHE_CHUNK_SIZE 0x004000 // 16K
#define RECT_CACHE_UNPACKED_SPACE (15*DOC_BUFFER_SIZE/100)
#define RECT_CACHE_CHUNK_SIZE 0x008000 // 32K
#define RECT_CACHE_UNPACKED_SPACE (45*DOC_BUFFER_SIZE/100)
#define RECT_CACHE_CHUNK_SIZE 0x00F000 // 64K
#define STYLE_CACHE_UNPACKED_SPACE (10*DOC_BUFFER_SIZE/100)
#define STYLE_CACHE_CHUNK_SIZE 0x00C000 // 48K
//--------------------------------------------------------
Expand Down

0 comments on commit 9f90509

Please sign in to comment.