source: packages/utils/xdelta3/patches/001-decrease-default-window-size.patch @ 28231

Last change on this file since 28231 was 28231, checked in by florian, 5 years ago

[package] add xdelta3

Signed-off-by: Alexander Gordeev <lasaine@…>

File size: 531 bytes
  • xdelta3.h

    diff --git a/xdelta3.h b/xdelta3.h
    index 5dafd8d..22bc37f 100644
    a b  
    3838 * buffer is used directly. 
    3939 */ 
    4040#ifndef XD3_DEFAULT_WINSIZE 
    41 #define XD3_DEFAULT_WINSIZE (1U << 23) 
     41#define XD3_DEFAULT_WINSIZE (1U << 16) 
    4242#endif 
    4343 
    4444/* Default total size of the source window used in xdelta3-main.h */ 
    4545#ifndef XD3_DEFAULT_SRCWINSZ 
    46 #define XD3_DEFAULT_SRCWINSZ (1U << 26) 
     46#define XD3_DEFAULT_SRCWINSZ (1U << 19) 
    4747#endif 
    4848 
    4949/* When Xdelta requests a memory allocation for certain buffers, it 
Note: See TracBrowser for help on using the repository browser.