bptato
bptato
> FWIW it increases code size in my wasm programs by ~0.5% To me that sounds like a fair compromise for a reliable seq. > whereas your cast[ptr int] hack...
> Nim's `cast` is not C's cast, make the codegen use a memcpy. You mean to spit out a memcpy for every single read/store through a pointer? (memcpy'ing the pointer...
Oh it's actually better? o_0 Looking at the diff again, I did introduce some unnecessary branches, maybe that accounts for some of the code increase... how about: https://github.com/bptato/Nim/commit/40114ecdb4f69db9bf5b01dcd638a10d703c0c66
Thanks for the heads up. I hope tats is doing well. I look up to him as a mentor here. I agree that SourceHut is better suited for w3m development....
Good point. In my case, the distinct type is actually a hack for representing a type defined in a parent module, so the conversion seemed natural to me... but on...
Indeed it is, thank you.
FYI in the same thread DrLoopFall also [lists](https://github.com/bellard/quickjs/issues/445#issuecomment-3335770276) the timing of a successful run, which I've been able to replicate following [Ben's instructions](https://github.com/bellard/quickjs/issues/445#issuecomment-3332840911): ``` $ time node out.mjs {"type":"result","responses":[{"type":"result","data":{"X_LCxVDjAavgE5t":"UQ_AXH9GoEWD"}}]} real...