a29f6820c5
The expand_filename_trans() function consumed vast majority of time by comparsion of two lists with dumb algorithm with O(n^2) complexity. Now it chunks one list by it's filename_trans->stype value to limit length of elements which needs to be walked when comparing filename_trans_t element with this chunked list. This change speeds-up se* commands by 80%. Signed-off-by: Adam Tkac <atkac@redhat.com> Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Dan Walsh <dwalsh@redhat.com> |
||
---|---|---|
.. | ||
include | ||
man | ||
src | ||
tests | ||
utils | ||
.gitignore | ||
Android.mk | ||
ChangeLog | ||
COPYING | ||
Makefile | ||
VERSION |