Commit Graph

16 Commits

Author SHA1 Message Date
zxq5 56d2abe17f - optimised main emulator loop, allowing updates only once every roughly 32,000 instructions.
- optimised memory access patterns, removing unecessary mutability and accesses.
- replaced the standard HashMap with an implementation that uses a faster hashing algorithm.

results:

before:
    - our benchmark program with ~4m instructions would take around for their data to make it to the UI, and a bit over 200ms to actually run

after:
    - our benchmark program with ~4m instructions can run in around 75ms, and the UI receives the update almost instantly.

conclusion:
- emulator performance should be around 2-3x faster than before.
2025-06-28 03:21:46 +01:00
nullndvoid 92c4660a4d misc: get rid of some errors from Cargo lol 2025-06-24 21:55:11 +01:00
zxq5 4ef8bbdf46 updated dependencies 2025-06-24 18:06:29 +01:00
nullndvoid c7322d8171 emulator on android: crashes but APKs are building 2025-06-22 03:46:42 +01:00
nullndvoid 83259b9217 emulator: use egui file pickers rather than native ones
TODO: Add file types when picking? This is a regression
2025-06-22 02:12:26 +01:00
nullndvoid 1907bbb200 misc: clippy fixes 2025-06-22 00:30:27 +01:00
nullndvoid b5ce5e0011 emulator: run by default and auto add the config feature 2025-06-19 16:16:13 +01:00
zxq5 e281bc2d1d IT WORKS HELL YEAH. 2025-06-18 22:53:01 +01:00
nullndvoid 687dea99ca emulator: get RPC working w/ Cargo features 2025-06-17 23:48:28 +01:00
nullndvoid 0b16246dd2 misc: applied some clippy lints 2025-06-17 19:43:35 +01:00
nullndvoid 868cba376f misc: fix merge conflict 2025-06-17 19:22:01 +01:00
nullndvoid a6be668328 emulator: just saving my changes 2025-06-17 19:19:49 +01:00
zxq5 75246f5e73 editor go brr? 2025-06-16 23:38:36 +01:00
nullndvoid 5ed0f9c1ca misc: formatting and clippy lint fixes 2025-06-16 01:19:57 +01:00
zxq5 2b5ad0885b added assembler skeleton code 2025-06-15 21:53:57 +01:00
zxq5 2b8281157e refactor 2 electric boogaloo 2025-06-15 21:40:43 +01:00