File list creation taking too long. #23
Labels
enhancement
New feature or request
hacktoberfest
HacktoberFest issues
help wanted
Extra attention is needed
Currently, GramUp is using glob to list the files present in the backup folder. This is taking quite a long time. It would be much after if it is implemented using some other technique. One possible solution is to use C, this would make the process incredibly fast but would be quite a challenge to code. In my opinion, the best method would be to do it in python itself but optimize it by not using regex ( unlike glob ) to do the searching.
This is how we are currently doing it:
GramUp/gramup/utils.py
Line 178 in 13f57c8
A simple list dir can't be used as we need to get all files recursively, something in the line of os.walk might be appropriate.
This issue is part of HacktoberFest.
The text was updated successfully, but these errors were encountered: