Array-map refactors
authorAndy Wingo <wingo@pobox.com>
Thu, 6 Feb 2014 10:43:39 +0000 (11:43 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 6 Feb 2014 19:44:47 +0000 (20:44 +0100)
commitf0521cdabcad69db03edb0db8772572bf539170b
treeb021f7a8e9f82811de5a0ed689bb5c38dda08adc
parent16259ae3dcf4f121ec1ba3aa49090dfa9fef995f
Array-map refactors

* libguile/array-map.c (scm_ra_matchp): Refactor logic a bit.
  (array_index_map_1, array_index_map_n)
  (scm_array_index_map_x): Internally refactor array-index-map! to use
  separate implementations for rank 1 versus rank >1 arrays.
libguile/array-map.c