Use car instead of cell_get

car is much faster since there is no function overhead.
This commit is contained in:
Justin Ethier 2017-05-09 15:33:56 +00:00
parent 45c27f5a3a
commit 27bacda445

View file

@ -593,7 +593,7 @@
((eq? p 'symbol?) "Cyc_is_symbol")
((eq? p 'cons) "make_pair")
((eq? p 'cell) "make_cell")
((eq? p 'cell-get) "cell_get")
((eq? p 'cell-get) "car") ;; Unsafe as cell gets added by compiler
((eq? p 'set-cell!) "Cyc_set_cell")
((eq? p 'set-global!) "global_set")
(else