It may be 0.01% difference on Python 2.7, but on PyPy, that's a 3x difference in speed there!!!!!
On Friday, May 3, 2013 2:02:24 PM UTC-7, Arnon Marcus wrote: > > Well, no, since as I said, SQLA's "Identity Map" is actually equating the > primary-keys of the object, so I guess they got it right! :P > > Anyway, I haven't seen this identity-checking actually being used in SQLA > code-examples, it was just a side-benefit I though could be cool that you > could do that, to make code more readable. > It IS weird thought that it's slower - quite surprising. > Still, it's not THAT much slower, so if it was me I would still be using > identity-checks - you are talking about a difference of 0.01% - whose > meddling in negligible stuff now...? :P > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.