Remove unused record destructuring tests
These tests were for record destructuring, which has been removed. The code for record destructuring was also removed from the type checker and types modules.
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
;; Record to Tuple Mapping Test
|
||||
;; Output: 30
|
||||
;; Benchmark: 727ns
|
||||
;; Benchmark-Repeat: 2764
|
||||
(do
|
||||
(def rec {:x 10 :y 20})
|
||||
|
||||
;; Map record to tuple pattern
|
||||
(def add-tuple (fn [[a b]] (+ a b)))
|
||||
|
||||
(add-tuple rec)
|
||||
)
|
||||
@@ -1,11 +0,0 @@
|
||||
;; Benchmark: Record Destructuring Performance
|
||||
;; This test calls a function that destructures a record
|
||||
;; Current implementation is now zero-allocation for destructuring.
|
||||
;; Output: 3
|
||||
;; Benchmark: 129ns
|
||||
;; Benchmark-Repeat: 15432
|
||||
|
||||
(do
|
||||
(def process (fn [[x y]]
|
||||
(+ x y)))
|
||||
|
||||
Reference in New Issue
Block a user