Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • pmai's avatar
    26e7aeea
    o When created displaced arrays, MAKE-ARRAY (unlike ADJUST-ARRAY) · 26e7aeea
    pmai authored
      didn't check whether the specified element-type was a subtype of the
      array-element-type of the displaced-to array.
    o One case in ADJUST-ARRAY didn't check for an array-header before
      calling %array-displaced-p on an array, so that sometimes an array
      element was accessed and checked instead.  Fixed this, and prevented
      ADJUST-ARRAY from shrinking non-adjustable arrays in-place, since
      this can violate naive user expectations for little gain.
    26e7aeea
    History
    o When created displaced arrays, MAKE-ARRAY (unlike ADJUST-ARRAY)
    pmai authored
      didn't check whether the specified element-type was a subtype of the
      array-element-type of the displaced-to array.
    o One case in ADJUST-ARRAY didn't check for an array-header before
      calling %array-displaced-p on an array, so that sometimes an array
      element was accessed and checked instead.  Fixed this, and prevented
      ADJUST-ARRAY from shrinking non-adjustable arrays in-place, since
      this can violate naive user expectations for little gain.