[armedbear-ticket] [armedbear] #67: initarg checking performance

armedbear armedbear-devel at common-lisp.net
Sun Jan 23 15:47:12 UTC 2011


#67: initarg checking performance
--------------------------+-------------------------------------------------
  Reporter:  ehuelsmann   |       Owner:  somebody   
      Type:  enhancement  |      Status:  new        
  Priority:  major        |   Milestone:  unscheduled
 Component:  CLOS         |     Version:             
Resolution:               |    Keywords:  performance
--------------------------+-------------------------------------------------

Comment(by ehuelsmann):

 CHECK-INITARGS is called from:

  * MAKE-INSTANCE-STANDARD-CLASS
  * ENSURE-CLASS
  * MAKE-INSTANCE
  * UPDATE-INSTANCE-FOR-DIFFERENT-CLASS
  * UPDATE-INSTANCE-FOR-REDEFINED-CLASS

 It computes its return value based on the applicable methods from SHARED-
 INITIALIZE, INITIALIZE-INSTANCE and the class's slot definitions. The
 applicable methods are computed using the instance and the shared-
 initialize-param.

 The above means that we should probably calculate all valid initargs from
 both the applicable methods and the slots, testing the initargs to be
 members of the union.

-- 
Ticket URL: <http://trac.common-lisp.net/armedbear/ticket/67#comment:2>
armedbear <http://common-lisp.net/project/armedbear>
armedbear


More information about the armedbear-ticket mailing list