Skip to content

remote: don't use PathInfo.from_posix#3637

Merged
efiop merged 1 commit into
treeverse:masterfrom
efiop:3635
Apr 15, 2020
Merged

remote: don't use PathInfo.from_posix#3637
efiop merged 1 commit into
treeverse:masterfrom
efiop:3635

Conversation

@efiop
Copy link
Copy Markdown
Contributor

@efiop efiop commented Apr 15, 2020

Using it to load dirs takes around 50 sec compared to 0.4 with simple
replace(). Path objects are great, but not when you need lots of them.

Related to #3635

  • ❗ I have followed the Contributing to DVC checklist.

  • 📖 If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here. If the CLI API is changed, I have updated tab completion scripts.

  • ❌ I will check DeepSource, CodeClimate, and other sanity checks below. (We consider them recommendatory and don't expect everything to be addressed. Please fix things that actually improve code or fix bugs.)

Thank you for the contribution - we'll try to review it as soon as possible. 🙏

Comment thread dvc/remote/base.py Outdated
Using it to load dirs takes around 50 sec compared to 0.4 with simple
`replace()`. Path objects are great, but not when you need lots of them.

Related to treeverse#3635
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant