[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
structure references
- To: Robert.Frederking@CMU-CS-CAD.ARPA
- Subject: structure references
- From: "Walter van Roggen" <WVANROGGEN@DEC-MARLBORO.ARPA>
- Date: Thu 23 Aug 84 17:34:25-EDT
- Cc: common-lisp@SU-AI.ARPA
With the proper declarations, something like SHIP-LENGTH does turn
into one VAX instruction, and for speed cannot check for illegal
or unusual arguments. Normally though it only checks that the
arguments are structures (or simple-vectors). It would have checked
that the type was correct, but since the type slot of a structure
might only be a subtype of the type assumed in the reference, it
would have had to do a SUBTYPEP (or the equivalent).
---Walter
-------