O(N^2) performance in the number of "--bind" flags #384
Open
Description
opened on Aug 13, 2020
When bwrap is called with thousands of "--bind" arguments on the command line, it slows down considerably. It looks like /proc/self/mountinfo is parsed for every single "--bind" flag. Must that happen? Can the code instead parse the mount table once and update its representation over time?
Metadata
Assignees
Labels
No labels
Activity