Nope, unsafe-struct-ref is still not measurably faster than the safe variants

This commit is contained in:
Tony Garnock-Jones 2018-10-20 21:47:47 +01:00
parent f1a787b17f
commit a40fb01839
1 changed files with 0 additions and 1 deletions

View File

@ -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