altos/scheme: Use AO_SCHEME_IS_CONS in cons memory funcs
authorKeith Packard <keithp@keithp.com>
Mon, 18 Dec 2017 06:19:38 +0000 (22:19 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 18 Dec 2017 06:19:38 +0000 (22:19 -0800)
commit9d1131da911f7220ac8b6cb7ba5a0afd3deef657
tree737dd7e127ab18e01cc844b63ae7dedb07e5c058
parentb866b3ca249dce61f8ff16c8d28514d1b80386d7
altos/scheme: Use AO_SCHEME_IS_CONS in cons memory funcs

More efficient than ao_scheme_poly_type as it doesn't care about
non-prim types.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/scheme/ao_scheme.h
src/scheme/ao_scheme_cons.c