-
Notifications
You must be signed in to change notification settings - Fork 53
Closed
Description
Arch's 5.11.2 kernel has ~29K module aliases. booster generator tries to match all devices against all the aliases. So it has to call path.Match function about one million times. And path.Match function is not particularly fast.
As a result ~70% of an image generation time is spent in matchAlias function. Optimize this codepath. Maybe we can sort the aliases somehow and then quickly pre-match using some fast string comparison?
Metadata
Metadata
Assignees
Labels
No labels