You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This optimization would get rid of the mole-parse-match in (1) and convert the (while ... (nconc...)) loop into a more idiomatic (and probably faster) (progn (while ... (push ...)) (nreverse ...)))
The text was updated successfully, but these errors were encountered:
felipeochoa
changed the title
Optimization: single-item productions
Optimize single-item productions
Mar 26, 2018
A bunch of generic sequence code could be removed for single-item productions. E.g.,
(+ "x")
expands to:This optimization would get rid of the
mole-parse-match
in(1)
and convert the(while ... (nconc...))
loop into a more idiomatic (and probably faster)(progn (while ... (push ...)) (nreverse ...)))
The text was updated successfully, but these errors were encountered: