Skip to content
Snippets Groups Projects
  • Sebastian Kemper's avatar
    90121c49
    asterisk-13.x: speed up menuselect calls · 90121c49
    Sebastian Kemper authored
    
    Currently the menuselect calls, for each category or item, step into a
    directory and call menuselect once. So if all packages are build
    menuselect will be called hundreds of times and as many directory
    changes will be done.
    
    Instead step into the directory only once, then generate the argument
    string by iteratively adding to it and then call menuselect once. The
    speedup is big.
    
    Signed-off-by: default avatarSebastian Kemper <sebastian_ml@gmx.net>
    90121c49
    History
    asterisk-13.x: speed up menuselect calls
    Sebastian Kemper authored
    
    Currently the menuselect calls, for each category or item, step into a
    directory and call menuselect once. So if all packages are build
    menuselect will be called hundreds of times and as many directory
    changes will be done.
    
    Instead step into the directory only once, then generate the argument
    string by iteratively adding to it and then call menuselect once. The
    speedup is big.
    
    Signed-off-by: default avatarSebastian Kemper <sebastian_ml@gmx.net>