diff options
Diffstat (limited to 'xdelta3/xdelta3.h')
-rwxr-xr-x | xdelta3/xdelta3.h | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h index 2ae1273..0c5bd43 100755 --- a/xdelta3/xdelta3.h +++ b/xdelta3/xdelta3.h | |||
@@ -45,7 +45,7 @@ | |||
45 | 45 | ||
46 | /* Default total size of the source window used in xdelta3-main.h */ | 46 | /* Default total size of the source window used in xdelta3-main.h */ |
47 | #ifndef XD3_DEFAULT_SRCWINSZ | 47 | #ifndef XD3_DEFAULT_SRCWINSZ |
48 | #define XD3_DEFAULT_SRCWINSZ (1U << 23) | 48 | #define XD3_DEFAULT_SRCWINSZ (1U << 26) |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | /* When Xdelta requests a memory allocation for certain buffers, it rounds up to units of | 51 | /* When Xdelta requests a memory allocation for certain buffers, it rounds up to units of |
@@ -61,7 +61,7 @@ | |||
61 | * without a copy window will require 3 bytes to encode (7 bits per byte, HERE and SAME | 61 | * without a copy window will require 3 bytes to encode (7 bits per byte, HERE and SAME |
62 | * modes making every address within half the window away. */ | 62 | * modes making every address within half the window away. */ |
63 | #ifndef XD3_HARDMAXWINSIZE | 63 | #ifndef XD3_HARDMAXWINSIZE |
64 | #define XD3_HARDMAXWINSIZE (1U<<23) | 64 | #define XD3_HARDMAXWINSIZE (1U<<24) |
65 | #endif | 65 | #endif |
66 | 66 | ||
67 | /* The XD3_NODECOMPRESSSIZE parameter tells the xdelta main routine not to try to | 67 | /* The XD3_NODECOMPRESSSIZE parameter tells the xdelta main routine not to try to |
@@ -774,27 +774,21 @@ struct _xd3_stream | |||
774 | xd3_sec_stream *sec_stream_i; | 774 | xd3_sec_stream *sec_stream_i; |
775 | xd3_sec_stream *sec_stream_a; | 775 | xd3_sec_stream *sec_stream_a; |
776 | 776 | ||
777 | #if XD3_DEBUG | ||
778 | /* statistics */ | 777 | /* statistics */ |
779 | usize_t n_cpy; | 778 | xoff_t n_scpy; |
780 | usize_t n_add; | 779 | xoff_t n_tcpy; |
781 | usize_t n_run; | 780 | xoff_t n_add; |
782 | 781 | xoff_t n_run; | |
783 | usize_t n_ibytes; | ||
784 | usize_t n_sbytes; | ||
785 | usize_t n_dbytes; | ||
786 | 782 | ||
787 | usize_t l_cpy; | 783 | xoff_t l_scpy; |
788 | usize_t l_add; | 784 | xoff_t l_tcpy; |
789 | usize_t l_run; | 785 | xoff_t l_add; |
786 | xoff_t l_run; | ||
790 | 787 | ||
788 | #if XD3_DEBUG | ||
791 | usize_t sh_searches; | 789 | usize_t sh_searches; |
792 | usize_t sh_compares; | 790 | usize_t sh_compares; |
793 | 791 | ||
794 | usize_t *i_freqs; | ||
795 | usize_t *i_modes; | ||
796 | usize_t *i_sizes; | ||
797 | |||
798 | usize_t large_ckcnt; | 792 | usize_t large_ckcnt; |
799 | 793 | ||
800 | /* memory usage */ | 794 | /* memory usage */ |