Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ecompress: optimize docompress -x precompressed comparison #564

Merged

Conversation

zmedico
Copy link
Member

@zmedico zmedico commented Jun 28, 2020

Use sort and comm with temporary files in order to compare lists
of docompress -x and precompressed files, since the file lists
can be extremely large. Also strip ${D%/} from paths in order to
reduce length.

Bug: https://bugs.gentoo.org/721516
Suggested-by: Robin H. Johnson robbat2@gentoo.org
Signed-off-by: Zac Medico zmedico@gentoo.org

@zmedico zmedico force-pushed the bug_721516_optimize_with_sort_and_comm branch 3 times, most recently from c8d085d to b9e03f2 Compare June 29, 2020 07:08
Use sort and comm with temporary files in order to compare lists
of docompress -x and precompressed files, since the file lists
can be extremely large. Also strip ${D%/} from paths in order to
reduce length.

Bug: https://bugs.gentoo.org/721516
Suggested-by: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
@zmedico zmedico force-pushed the bug_721516_optimize_with_sort_and_comm branch from b9e03f2 to aef4953 Compare July 2, 2020 17:22
@gentoo-bot gentoo-bot merged commit aef4953 into gentoo:master Jul 2, 2020
@zmedico zmedico deleted the bug_721516_optimize_with_sort_and_comm branch July 2, 2020 17:35
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.

2 participants