Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Cyan4973
Copy link
Member

@Cyan4973 Cyan4973 commented Sep 15, 2022

benchmark dictionary mode (-b file(s) -D dictionary), as implemented in #808, is incorrect. It would desynchronize compression and decompression as soon as 2+ files are dictionary compressed.

fix #1167

Also :

  • if there is a detected issue during benchmarking, lz4 returns a non-0 error code
  • slightly improved traces system, to also include __LINE__ number

benchmark dictionary mode, implemented in #808, is incorrect.
It would desynchronize compression and decompression as soon as 2+ files are dictionary compressed.

Also : slightly improved traces system, to also include __LINE__ number
also : errors during benchmark mode return an error code.
@Cyan4973 Cyan4973 merged commit e84f375 into dev Sep 16, 2022
@Cyan4973 Cyan4973 changed the title fix benchmark more using Dictionary fix benchmark mode using Dictionary Sep 18, 2022
@Cyan4973 Cyan4973 deleted the benchD branch December 29, 2022 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot benchmark with a dictionary

2 participants