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

fixed glacially slow line number generation #18

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

metacollin
Copy link
Contributor

The current method MaciASL uses to calculate line numbers is extremely inefficient and recalculates constantly. This makes the entire program grind to a crawl when the decompiled file is sufficiently long.

This is a small change that stores the line count and only updates it as needed, and uses a far more efficient method of calculating line count. After this, MaciASL is butter smooth even on huge files.

@vit9696 vit9696 merged commit a3774c1 into acidanthera:master Aug 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants