[armedbear-ticket] [armedbear] #156: Readtime macro compiler error
armedbear
armedbear-devel at common-lisp.net
Tue Aug 2 15:14:28 UTC 2011
#156: Readtime macro compiler error
-----------------------+----------------------------------------------------
Reporter: mevenson | Owner: ehuelsmann
Type: defect | Status: closed
Priority: blocker | Milestone: 0.26
Component: compiler | Version:
Resolution: fixed | Keywords: ironclad
-----------------------+----------------------------------------------------
Changes (by mevenson):
* status: new => closed
* resolution: => fixed
Comment:
r13380 allows compilation to succeed, but the compiled code is suboptimal.
The ABCL compiler currently dumps such forms in their READ form to be read
at load time rather than constructing JVM code to initialize the value.
This has two consequences for your usage here: first, since the string has
to be derserialized by the Lisp reader there is almost no conceivable JVM
implementation that will make this usage faster. And the potentially more
serious problem is that since the Lisp reader syntax doesn't specify the
underlying array type, at runtime one gets an array who's BASE-ELEMENT-
TYPE is T rather than (UNSIGNED-BYTE 32) which is probably less efficient.
Closing the ticket, as the immediate bug has been addressed to the old
behavior.
--
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/156#comment:4>
armedbear <http://common-lisp.net/project/armedbear>
armedbear
More information about the armedbear-ticket
mailing list