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

xbps ultra fast #78

Closed
wants to merge 4 commits into from
Closed

xbps ultra fast #78

wants to merge 4 commits into from

Conversation

@xtraeme
Copy link
Contributor

xtraeme commented Apr 19, 2019

This branch contains random bugfixes and performance improvements.

xbps_get_pkg_fulldeptree() has been rewritten for performance
and to fix those known bugs with cyclic deps.

faster: use a hash table with pkg names on the transaction dict,
the process of collecting and sorting is now 50x faster or
even more (kde5).

bugs: this now detects cyclic deps and returns with an appropropiate
return value: ELOOP and ENOENT in xbps-query(1) --fulldeptree.
Ping me if you need more details :-)

Close #77
Close #16
Close #5

xtraeme added 4 commits Apr 19, 2019
... otherwise you need to remove them manually when re-running
'make check'.
faster: use a hash table with pkg names on the transaction dict,
 the process of collecting and sorting is now 50x faster or
 even more (kde5).

bugs: this now detects cyclic deps and returns with an appropropiate
 return value: ELOOP and ENOENT in xbps-query(1) --fulldeptree.
 Ping me if you need more details :-)

Close #16
Close #5
This fixes some races that could be seen when there's a
determined number of pkgs and CPU threads.
@Duncaen Duncaen closed this in 291fadd Apr 19, 2019
@xtraeme xtraeme deleted the xtraeme:xbps-ultra-fast branch May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.