Skip to content

Conversation

@rmkaplan
Copy link
Contributor

@rmkaplan rmkaplan commented Dec 3, 2025

Sorting the functions and variables in alphabetical order makes it a little bit more useful to find what you might be looking for.

But the main motivation is that sorting would simplify the eventual implementation of a gitfns comparison for compiled files, at least comparing the function signatures, as mentioned in #2314

@masinter
Copy link
Member

masinter commented Dec 3, 2025

I'd like to try this out before commiting -- isn't the order kind of derived from the order the symbols qppear in the function? Is it better to lose information? should sorting be an option -- or even a separate function that you could either qpply or not?

there was some idea of noticingv all symbols used - even in constants.

another way to comppqre two compiled functions woould be to decompile into bytelqp and compare the results whidh i think woould not pick up neqrly as many differences -- and might be useful for 3 <==> btte atom comparision and transformation.

@masinter masinter closed this Dec 3, 2025
@masinter masinter reopened this Dec 3, 2025
@masinter
Copy link
Member

masinter commented Dec 3, 2025

closed by accident, but would like to discuss

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.

3 participants