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

Compiling if FILEs in DAT section needs attention - is slow... compared to rest of compile #2

Open
ironsheep opened this issue Sep 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@ironsheep
Copy link
Owner

Issue being Addressed

Time for assembling a simple PASM-only program is over an order of magnitude worse than flexspin. 540ms vs 25ms, or rather "noticable delay" vs "instant".

It seems the slow compile time is mostly correlated with including large FILEs in a DAT section. So I guess there's some horrible per-byte loop that runs on either the FILE includes or the whole output binary.

Initially reported by Ada, 2024-09-13.

Enhancement

Rewrite the byte loops in the DATA file handling to improve compile performance.

Alternatives

N/A

Additional information

N/A

@ironsheep ironsheep added the enhancement New feature or request label Sep 17, 2024
@Wuerfel21
Copy link

The program that I noticed this on:
crapvga-2024-09-17.zip
(Simple VGA driver that I livecoded in like 10 minutes to prove a point - there's a big image file)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants