What is Nostr?
Graham Sutherland / Polynomial /
npub1wgp…q3pa
2024-11-30 19:49:08
in reply to nevent1q…42ux

Graham Sutherland / Polynomial on Nostr: right now it just repeatedly scans process memory, but it's super inefficient and ...

right now it just repeatedly scans process memory, but it's super inefficient and each iteration slams all 112 logical processors on this machine to 100% for about two seconds per scan.

I can speed it up a ton by probing process allocs with VirtualQueryEx before ReadProcessMemory so I can optimise the copy operation instead of just blindly doing one page at a time.
Author Public Key
npub1wgp97tfljcqvknue9axjpul0c0ct76n9pef89tt6jgxhz6ny3jqsnlq3pa