Optimize MAKE-ARRAY on unknown element-type.
authorStas Boukarev <stassats@gmail.com>
Thu, 2 Jan 2014 09:03:52 +0000 (13:03 +0400)
committerStas Boukarev <stassats@gmail.com>
Thu, 2 Jan 2014 09:03:52 +0000 (13:03 +0400)
commit0c3bbfaa2286626a2d915c8810f690aefc702661
treeae743763a3a4d2bd9c93d8c3f111b7286b4f88f8
parent979539d20a27f4315db9e1bde0a4413135cf8603
Optimize MAKE-ARRAY on unknown element-type.

Reimplement %vector-widetag-and-n-bits without using subtypep,
providing an order of magnitude speed up.

Out of line make-array :element-type 'character also caused to cons
twice larger than needed vectors on x86-64.
(Though that wasted space was reclaimed after GC).

Closes lp#1004501.
NEWS
src/code/array.lisp
src/code/early-type.lisp
tests/compiler.pure.lisp