← concepts · the commons
mref
3 moment(s) that assert this concept — showing 1–3 of 3
single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →Arthur Gleckler · youtube · en-US
1mref is a Legor instruction that accesses memory given a base address, offset, and element type, supporting types including natural word size and fixed num for efficient access
“mref is our instruction to access memory given a base address and some offsets uh offsets and the axis type you're accessing”
spoken · 65s · 2015-11-16
Arthur Gleckler · youtube · en-US
2Legor's mref instruction supports efficient access to data using natural word size or fixed num types, avoiding big num overhead and enabling efficient code generation
“you can say I'm going to access something the natural word size of lisp but con to fix num and that allows the compiler to generate more efficient code”
spoken · 69s · 2015-11-16
Arthur Gleckler · youtube · en-US
3Using memory mapping with mref in Legor allows direct access to file data via base address and offsets, reducing runtime from 3.3 seconds to under 1 second, achieving approximately four times speedup, and up to five times with type declarations
“it took about 3.3 seconds to run so standard LS code take 3 seconds to read”
spoken · 4929s · 2015-11-16