Nope, unsafe-struct-ref is still not measurably faster than the safe variants
This commit is contained in:
parent
f1a787b17f
commit
a40fb01839
|
@ -262,7 +262,6 @@
|
|||
(define old-top (car popped-stack))
|
||||
(define new-top
|
||||
(cond [(non-object-struct? old-top) (vector-ref (struct->vector old-top) (+ index 1))]
|
||||
;; ^ TODO: evaluate unsafe-struct-ref
|
||||
[(list? old-top) (list-ref old-top index)]
|
||||
[(vector? old-top) (vector-ref old-top index)]))
|
||||
(define entry (hash-ref table
|
||||
|
|
Loading…
Reference in New Issue