| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
I do not see benefits, Actually, this looks like pessimization. The current code stops adding implicit parent dirs if it found already added dir. Your code continues to generate them. For example, if there are foo/bar/baz/a.py, foo/bar/baz/b.py and foo/bar/baz/c.py, it will calculate foo/bar/ and foo/ three times. You need to use dict.fromkeys() to de-duplicate them. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.