-
Notifications
You must be signed in to change notification settings - Fork 106
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
Check two IntelHex objects equality #57
Comments
|
Due to internal data storage model there is no effective way for byte to byte comparison, that's actually O(n) operation. |
By "effective way", I meant something what does not have to repack data and do other unnecessary operations. Preferably in |
Unfortunately, internally it has to repack data for comparing. |
I peeked into sources and |
Yes, that's correct. |
Sorry, it seems I haven't thought enough about your question. So basically all you need is to compare this._buf to other._buf.
|
Hi,
I am looking for effective way of hex file data comparison, mainly equality check.
Is there already some effective way of comparison?
Did you consider overriding of
__eq__
?The text was updated successfully, but these errors were encountered: