#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.