Hi Nicolas,

> What does your FastHashMetaclass do precisely? Could we just throw the
> feature in ClasscallMetaclass? This could be a good occasion to find a
> more appropriate name for this metaclass. Speaking of which:
> ClasscallMetaclass and UniqueRepresentation would deserve to be
> cythoned at some point. With the upcoming super fast cached functions,
> we would then get super fast unique representation.

+10 ! I already did some experiment in this respect but I concluded that I
need some Cython expert close to me to go further... There are a lot of
classes inheriting from ClasscallMetaclass without a __classcall__ method. For
all those class where an element is created, there is quite a time spent in
the classcall mechanism for nothing. This is more frustrating that this could
be resolved statically, assuming no-one adds a __classcall__ method one the
fly in the class.

Cheers,

Florent

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to