• Noam Postavsky's avatar
    Optimize el-get-read-all-recipe-names · ad1c2aa7
    Noam Postavsky authored
    This function is used to create completion candidates, so its slowness
    is quite noticable. The main cause of slowness was the reading of all
    the recipe files which can be avoided because the file name gives the
    recipe name.
    
    * el-get-recipes.el (el-get-all-recipe-file-names): new function.
    * el-get.el (el-get-read-all-recipe-names): use new function
      el-get-all-recipe-file-names instead of el-get-read-all-recipes to
      avoid having to read every recipe file.
    ad1c2aa7