summaryrefslogtreecommitdiff
path: root/lib/alloca.c
diff options
context:
space:
mode:
authorDaniel Llorens <daniel.llorens@bluewin.ch>2013-04-24 23:29:48 +0200
committerAndy Wingo <wingo@pobox.com>2014-01-27 21:48:02 +0100
commitcdd7cc9e9b3750a759ab442249a6f004a503fba5 (patch)
treef36e7f8ef3dd7c5288cabf1602f87e51f0f21aa0 /lib/alloca.c
parent7c78a99f80642c0340faaa3ee45a07637f2bf351 (diff)
downloadguile-cdd7cc9e9b3750a759ab442249a6f004a503fba5.tar.gz
Rewrite scm_ramapc()
* libguile/array-map.c - (cind): replace by cindk, that operates only on the unrolled index set. - (klen): new function. - (make1array): take extra inc argument. - (scm_ramapc): rewrite to unroll as many axes as possible instead of just all or one. - (AREF): lbnd is known to be 0: remove. - (ASET): v is known to come from SCM_I_ARRAY_V; assume base, inc, lbnd. - (racp): use ssize_t instead of long for the indices. - (scm_array_index_map_x): build the index list at the last-but-one axis, then set the car of the last element, instead of building the list at the last axis. * test-suite/tests/ramap.test - add array-map! test with offset arguments.
Diffstat (limited to 'lib/alloca.c')
0 files changed, 0 insertions, 0 deletions