[sqlalchemy] has anyone measured the performance of filter_by vs filter?

2016-01-20 Thread Jonathan Vanasco
I'm auditing some code, and noticed that we've often flipped between the two. has anyone run benchmarks on the two regarding performance / memory size / etc ? -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and

Re: [sqlalchemy] has anyone measured the performance of filter_by vs filter?

2016-01-20 Thread Mike Bayer
filter_by creates a SQL construct and calls filter(), so the difference should be negligible. On 01/20/2016 12:57 PM, Jonathan Vanasco wrote: > I'm auditing some code, and noticed that we've often flipped between the > two. > > has anyone run benchmarks on the two regarding performance /

Re: [sqlalchemy] has anyone measured the performance of filter_by vs filter?

2016-01-20 Thread Jonathan Vanasco
On Wednesday, January 20, 2016 at 1:39:05 PM UTC-5, Michael Bayer wrote: > > filter_by creates a SQL construct and calls filter(), so the difference > should be negligible. > rad! -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To