Skip to content

Commit

Permalink
uzlib(trezor): partially optimize decompression for speed
Browse files Browse the repository at this point in the history
  • Loading branch information
TychoVrahe committed Apr 25, 2023
1 parent 2e06e07 commit a973bbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/uzlib/tinflate.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ void uzlib_uncompress_init(TINF_DATA *d, void *dict, unsigned int dictLen)
}

/* inflate next output bytes from compressed stream */
__attribute__((optimize("-O3")))
int uzlib_uncompress(TINF_DATA *d)
{
do {
Expand Down

0 comments on commit a973bbc

Please sign in to comment.