-
Notifications
You must be signed in to change notification settings - Fork 28
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
Allow users to turn verification off? #133
Comments
I guess this could have multiple parts. Two from from simple to complex so far:
It may be that we end up allowing a string-valued argument, but (The package-novice label is for option 1.) |
Created a PR to address 1. As for 2., looking at profiling results for sequential decoding various file formats, only VDIF may require a significant amount of verification time (~20% of the total frame read-in and decode time for an
are the most expensive, together taking about 33% of the total verification time. (A non-negligible amount of time apparently is also spent navigating the class inheritance structure to track down a method, since it takes a few µs more to run I'm not sure how to speed up the second assert, but for the first one we can just store the sync pattern in the VDIF header class definition, since these are set by the EDV. Better would be to limit the amount of verification to one header per frameset, by default, then adding a |
Agreed we should at least factor out the |
So in that case, in addition to what's been done in #233, should we move the |
I think for |
During sequential decode, approximately 10% of the time is taken up by verifying header and payload integrity. While this is essential for selective or initial sequential decode, if the user is re-analyzing data they know to be error-free, it would be useful to pass
verify=False
to stream readers for the performance boost.The text was updated successfully, but these errors were encountered: