Skip to content
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

Fix for #1527 #1534

Merged
merged 4 commits into from Dec 14, 2022
Merged

Fix for #1527 #1534

merged 4 commits into from Dec 14, 2022

Conversation

sebbASF
Copy link
Collaborator

@sebbASF sebbASF commented Dec 10, 2022

No description provided.

@sebbASF
Copy link
Collaborator Author

sebbASF commented Dec 10, 2022

Note that the test failures are due to missing libyaml-dev; see #1522

@sebbASF
Copy link
Collaborator Author

sebbASF commented Dec 11, 2022

Whilst this does fix the issue, the == implementation currently does a lot of unnecessary work.

Seems to me it would use fewer resources if the underlying object attributes were compared one by one. This would stop on the first mismatch. No need to build an entire message just to detect that e.g. the Subject headers are different.

Will work on a replacement PR

@mikel
Copy link
Owner

mikel commented Dec 14, 2022

Nice work @sebbASF

@mikel mikel merged commit fabbf0e into mikel:master Dec 14, 2022
@sebbASF sebbASF deleted the patch-7 branch December 14, 2022 09:25
@sebbASF sebbASF mentioned this pull request Dec 14, 2022
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.

None yet

2 participants