Skip to content

Conversation

@Skgland
Copy link
Contributor

@Skgland Skgland commented Nov 27, 2025

Comparing addresses of function pointers is brittle.

Functions may be duplicated resulting in function pointers to the same function to compare !=.
Functions may be merged/de-duplicated resulting in function pointers to different function to compare ==.

The later shouldn't be relevant here as the function differ in behavior, but mentioning it for completeness.

Comparing addresses of function pointers is brittle.

Functions may be duplicated resulting in function pointers to the same function to compare !=.
Functions may be merged/de-duplicated resulting in function pointers to different function to compare ==.

The later shouldn't be relevant here as the function differ in behavior, but mentioning it for completeness.
@Skgland Skgland marked this pull request as draft November 27, 2025 19:11
@Skgland
Copy link
Contributor Author

Skgland commented Nov 27, 2025

Fixed one instance I missed, ready for review.

@Skgland Skgland marked this pull request as ready for review November 27, 2025 19:26
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.

2 participants