> I was referring to the logic in ProxyEngine/BaseProxyEngine.__getattr__ and > how inefficient that was on every engine attribute lookup. Every call does > extra attribute lookups, which can get quite expensive in a tight inner loop. > Here's an expanded version of __getattr__:
As the original author of ProxyEngine, I have to say that I heartily agree. It is a hack: a patched-in workaround for init behavior in earlier versions of SA that didn't work for me. I'm excited to see things like changeset [1258] that indicate that SA is getting lazier in all the right places. :) I hope one day soon ProxyEngine will be completely vestigial. JP ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users