aboutsummaryrefslogtreecommitdiff
path: root/c
AgeCommit message (Collapse)AuthorFilesLines
2024-05-31Hoist the static bounds check out of the combined if check.HEADmasterBrotli4-16/+32
PiperOrigin-RevId: 639054702
2024-05-30Use a hash table header and SIMD to speed up hash table operations (similar ↵Brotli7-7/+733
to [Swiss Tables](https://abseil.io/about/design/swisstables)). PiperOrigin-RevId: 638686412
2024-05-09Use a hash table header and SIMD to speed up hash table operations (similar ↵Brotli7-729/+7
to [Swiss Tables](https://abseil.io/about/design/swisstables)). PiperOrigin-RevId: 632238409
2024-05-08Use a hash table header and SIMD to speed up hash table operations (similar ↵Brotli7-7/+729
to [Swiss Tables](https://abseil.io/about/design/swisstables)). PiperOrigin-RevId: 631982664
2024-04-22Internal changeBrotli2-20/+32
PiperOrigin-RevId: 626960053
2024-04-18Prefetch the backreference hashtable bucket.Brotli3-7/+28
Place the prefetch before the last distance checks, to give the prefetch enough time to work. PiperOrigin-RevId: 626228820
2024-04-17add (assumption) checkEvgenii Kliuchnikov6-0/+18
PiperOrigin-RevId: 625632989
2024-04-14Don't check `cur_ix_masked` against `ring_buffer_mask`.Evgenii Kliuchnikov4-11/+13
`cur_ix_masked` isn't changing from iteration to iteration, and `max_length` ensures we never find a match long enough to walk off the ring buffer. PiperOrigin-RevId: 624701948
2024-04-12Fix minor syntax issues.Brotli4-4/+4
Missing semicolons. Move checks below variable declarations for c89. PiperOrigin-RevId: 624199887
2024-04-12Don't check `cur_ix_masked` against `ring_buffer_mask`.Brotli4-13/+11
`cur_ix_masked` isn't changing from iteration to iteration, and `max_length` ensures we never find a match long enough to walk off the ring buffer. PiperOrigin-RevId: 624162764
2024-04-11Update the `H5` hasher to use the `H6`'s `FN(STORE)`.Brotli1-3/+5
PiperOrigin-RevId: 623885589
2024-04-09Internal changeBrotli2-32/+20
PiperOrigin-RevId: 623073126
2024-04-08Internal changeBrotli2-20/+32
PiperOrigin-RevId: 622802698
2024-03-20Compare 4 bytes when checking if a longer match is possible.Brotli5-6/+34
Loading and comparing 4 bytes is ~as fast as 1 byte, but allows us to avoid more full match length calculation. PiperOrigin-RevId: 617556847
2024-03-13Use BROTLI_MAX_STATIC_CONTEXTS instead of magic constants in encode.cBrotli3-6/+7
PiperOrigin-RevId: 615341475
2024-01-22remove dependency on os-specific definesEvgenii Kliuchnikov1-21/+4
PiperOrigin-RevId: 600449944
2024-01-15add brcat alias + flag to decompress concatenated streamsEvgenii Kliuchnikov2-50/+128
PiperOrigin-RevId: 598652401
2024-01-11add comment (fingerprint) CLI featureEvgenii Kliuchnikov1-12/+182
PiperOrigin-RevId: 597489910
2024-01-03fix build for Microsoft-designed ARM64 ABIEvgenii Kliuchnikov1-1/+1
PiperOrigin-RevId: 595334901
2023-10-26fix wordingEvgenii Kliuchnikov2-11/+11
PiperOrigin-RevId: 576788685
2023-08-28tune memory manager for BROTLI_EXPERIMENTALEvgenii Kliuchnikov2-10/+5
PiperOrigin-RevId: 560703386
2023-08-25comb HAVE_UTIMENSAT definitionEvgenii Kliuchnikov1-5/+11
PiperOrigin-RevId: 560011681
2023-08-21more tuning for BROTLI_EXPERIMENTAL + clean-on-oomv1.1.0rcEvgenii Kliuchnikov3-7/+14
PiperOrigin-RevId: 558771745
2023-08-21prepare for 1.1.0rcEvgenii Kliuchnikov1-5/+17
PiperOrigin-RevId: 558736892
2023-08-18Move serialized dictionary feature behind the flag.Evgenii Kliuchnikov8-9/+51
BROTLI_SHARED_DICTIONARY_SERIALIZED enum value is a part of API, but it should not be used (will cause failures). Changing how serialized dictionaries work won't be considered as an API change, until this feature is enabled. Enabling this feature in the future will be considered as a "compatible" change. PiperOrigin-RevId: 558091676
2023-08-16Update comment; fixes #1061Evgenii Kliuchnikov1-2/+2
PiperOrigin-RevId: 557501089
2023-08-09reduce amount of padding in decoder structsEvgenii Kliuchnikov3-14/+24
PiperOrigin-RevId: 555101669
2023-08-03speedup q5-9 on large filesEvgenii Kliuchnikov1-16/+17
PiperOrigin-RevId: 553440457
2023-08-02speedup encoder on q5-9 / 1MB+ filesEvgenii Kliuchnikov4-13/+51
PiperOrigin-RevId: 553087469
2023-07-31add option to delete files that are not "compressed"Evgenii Kliuchnikov1-9/+50
PiperOrigin-RevId: 552472135
2023-07-30simplify CMake buildEvgenii Kliuchnikov4-11/+24
PiperOrigin-RevId: 552238545
2023-07-20bake in runtime constantEvgenii Kliuchnikov3-12/+4
PiperOrigin-RevId: 549590409
2023-07-17more careful bit-reader interruptionEvgenii Kliuchnikov1-8/+16
PiperOrigin-RevId: 548661043
2023-07-10insert missing fuzz/WORKSPACE contentEvgenii Kliuchnikov1-0/+23
PiperOrigin-RevId: 546848285
2023-07-10verbose error report in CLIEvgenii Kliuchnikov2-2/+29
PiperOrigin-RevId: 546833411
2023-07-10simplify building of fuzzerEvgenii Kliuchnikov3-0/+30
PiperOrigin-RevId: 545950923
2023-07-04Internal changesEvgenii Kliuchnikov2-2/+12
PiperOrigin-RevId: 545262005
2023-07-040.5-2.9% decoder speedupEvgenii Kliuchnikov2-40/+48
PiperOrigin-RevId: 529412095
2023-07-04Fix internal buffer resetEvgenii Kliuchnikov1-0/+5
PiperOrigin-RevId: 524301253
2023-07-04Add BROTLI_ENABLE_DUMP build optionEvgenii Kliuchnikov1-3/+14
PiperOrigin-RevId: 520047051
2023-07-04Avoid nullptr with zero offsetEvgenii Kliuchnikov1-2/+3
PiperOrigin-RevId: 516808122
2023-07-04speedup decoder by 0.2%-1.2%Evgenii Kliuchnikov2-42/+58
PiperOrigin-RevId: 516754779
2023-07-041.2-2.3% decoder speedupEvgenii Kliuchnikov1-5/+6
PiperOrigin-RevId: 513524040
2023-07-040.4-1.5% decoder speedupEvgenii Kliuchnikov7-225/+241
PiperOrigin-RevId: 513248503
2023-06-22fuzz: make target resist allocation failures (#1023)Catena cyber1-0/+5
So that fuzzing can go on with simulated allocation failures
2023-06-20Add loongarch64 support (#1022)Zhang Na1-2/+7
2023-01-31Decoder API: added API to attach metadata blocks callbacksEvgenii Kliuchnikov5-13/+127
PiperOrigin-RevId: 505734532
2023-01-30Fix emitting 1-byte long metadata blockEvgenii Kliuchnikov1-1/+1
PiperOrigin-RevId: 505484299
2023-01-30speed up encoding by ~5 %Brotli1-21/+13
PiperOrigin-RevId: 505061835
2023-01-17Internal changeBrotli1-1/+1
PiperOrigin-RevId: 502401179