Hi David, On Thu, Aug 25, 2011 at 9:44 PM, David Naylor <naylor.b.da...@gmail.com> wrote: > Below is the patch, and results, for my proposed hash methods for > datetime.datetime (and easily adaptable to include tzinfo and the other > datetime objects). I tried to make the hash safe for both 32bit and 64bit > systems, and beyond.
Yes, the patch looks good to me. I can definitely see how it can be a huge improvement in performance :-) If you can also "fix" the other __hash__ methods in the same way, it would be great. A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev