racket-r7rs icon indicating copy to clipboard operation
racket-r7rs copied to clipboard

adjust `define-record-type` expansion

Open mflatt opened this issue 1 year ago • 0 comments

The Racket compilers recognizes a particular pattern of make-struct-type, and while there's some flexibility in what the compiler recognizes, the expansion here was not within reach. This commit Adjust the expansion to fit an expected pattern, which signficantly improves the performance of record operations.

mflatt avatar Apr 23 '24 16:04 mflatt