-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DFReader: change to python3 only #1003
Conversation
this makes the parser about 17% faster in loading a bin log
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
offsets = [] | ||
counts = [] | ||
formats = self.formats |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would not seem to be related to the PR title?
I mean, probably not a bad change, but...
@@ -1,4 +1,4 @@ | |||
#!/usr/bin/env python | |||
#!/usr/bin/env python3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this doesn't reeally accomplish much, as DFReader is usually called from mavlogdump.py
via mavutil.py
.
We should probably change mavlogdump.py
's shebang line as part of this PR.
@peterbarker added change to py3 shebang for a tools/examples/modules |
Nothing exceeds like excess :-) |
I think we can drop py2 support now
overall performance improvement of about 30% in loading a bin log
for release, we should make it 2.5.0