Project

General

Profile

« Previous | Next » 

Revision 7d252186

Added by jhawthorn (John Hawthorn) about 4 years ago

Simplify known class check for singletons

Singleton classes should only ever be attached to one object. This means
that checking for the object should be the same as checking for the
class. This should be slightly faster by avoiding one memory acccess as
well as allowing us to skip checking if the receiver is a heap object.

This will be most common for calling class methods.