<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy.git/lib/sqlalchemy/util/_collections.py, branch pr/230</title>
<subtitle>github.com: zzzeek/sqlalchemy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/'/>
<entry>
<title>- The "lightweight named tuple" used when a :class:`.Query` returns</title>
<updated>2015-05-14T23:22:53+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-05-14T23:22:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=64c1f2e5688879e1cc087f4e4a893d32267fd1fb'/>
<id>64c1f2e5688879e1cc087f4e4a893d32267fd1fb</id>
<content type='text'>
rows failed to implement ``__slots__`` correctly such that it still
had a ``__dict__``.    This is resolved, but in the extremely
unlikely case someone was assigning values to the returned tuples,
that will no longer work.
fixes #3420
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rows failed to implement ``__slots__`` correctly such that it still
had a ``__dict__``.    This is resolved, but in the extremely
unlikely case someone was assigning values to the returned tuples,
that will no longer work.
fixes #3420
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed unexpected-use regression where in the odd case that the</title>
<updated>2015-05-06T21:07:24+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-05-06T21:07:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=1b120563905e29f9769fd6d2ce39922d15cebf7f'/>
<id>1b120563905e29f9769fd6d2ce39922d15cebf7f</id>
<content type='text'>
primaryjoin of a relationship involved comparison to an unhashable
type such as an HSTORE, lazy loads would fail due to a hash-oriented
check on the statement parameters, modified in 1.0 as a result of
:ticket:`3061` to use hashing and modified in :ticket:`3368`
to occur in cases more common than "load on pending".
The values are now checked for the ``__hash__`` attribute beforehand.
fixes #3416
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
primaryjoin of a relationship involved comparison to an unhashable
type such as an HSTORE, lazy loads would fail due to a hash-oriented
check on the statement parameters, modified in 1.0 as a result of
:ticket:`3061` to use hashing and modified in :ticket:`3368`
to occur in cases more common than "load on pending".
The values are now checked for the ``__hash__`` attribute beforehand.
fixes #3416
</pre>
</div>
</content>
</entry>
<entry>
<title>micro-optimize unique_list</title>
<updated>2015-04-24T12:26:42+00:00</updated>
<author>
<name>Gaëtan de Menten</name>
<email>gdementen@gmail.com</email>
</author>
<published>2015-04-24T12:26:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=e77cf339ee504ca9973d88e486d174f1ffa87302'/>
<id>e77cf339ee504ca9973d88e486d174f1ffa87302</id>
<content type='text'>
This makes unique_list approx 2x faster in my (simple) tests</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes unique_list approx 2x faster in my (simple) tests</pre>
</div>
</content>
</entry>
<entry>
<title>- keep this as 100</title>
<updated>2015-03-10T20:57:48+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-03-10T20:57:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=a4a826021fb6d77fadbdac0071616d7e5486e4d1'/>
<id>a4a826021fb6d77fadbdac0071616d7e5486e4d1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- copyright 2015</title>
<updated>2015-03-10T19:24:28+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-03-10T19:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=50866d2f857dd45bb2d186a0fa076768437d62a3'/>
<id>50866d2f857dd45bb2d186a0fa076768437d62a3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- reduce some callcounts related to the lightweight tuple,</title>
<updated>2015-03-09T19:24:01+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-03-09T19:24:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=adaa003300357179514628cd1735a7adae76b839'/>
<id>adaa003300357179514628cd1735a7adae76b839</id>
<content type='text'>
basically by caching them.
- improve LRUCache so that size management only proceeds
in one thread, add a real get() method
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
basically by caching them.
- improve LRUCache so that size management only proceeds
in one thread, add a real get() method
</pre>
</div>
</content>
</entry>
<entry>
<title>- pick around gaining modest dings in callcounts here and there</title>
<updated>2015-03-09T18:36:23+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-03-09T18:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=9afe585f4599d8114abe8d11f924c206a8962cda'/>
<id>9afe585f4599d8114abe8d11f924c206a8962cda</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- remove context-specific post-crud logic from Connection and inline post-crud</title>
<updated>2015-01-25T22:53:41+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-01-25T22:53:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=a33c250da273ba9b1c62b5ba6d99914870155faf'/>
<id>a33c250da273ba9b1c62b5ba6d99914870155faf</id>
<content type='text'>
logic to some degree in DefaultExecutionContext.  In particular
we are removing post_insert() which doesn't appear to be used
based on a survey of prominent third party dialects.  Callcounts
aren't added to existing execute profiling tests and inserts might be
a little better.
- simplify the execution_options join in DEC.  Callcounts don't
appear affected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
logic to some degree in DefaultExecutionContext.  In particular
we are removing post_insert() which doesn't appear to be used
based on a survey of prominent third party dialects.  Callcounts
aren't added to existing execute profiling tests and inserts might be
a little better.
- simplify the execution_options join in DEC.  Callcounts don't
appear affected.
</pre>
</div>
</content>
</entry>
<entry>
<title>- add MemoizedSlots, a generalized solution to using __getattr__</title>
<updated>2015-01-06T00:02:08+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-01-06T00:02:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=1104dcaa67062f27bf7519c8589f550bd5d5b4af'/>
<id>1104dcaa67062f27bf7519c8589f550bd5d5b4af</id>
<content type='text'>
for memoization on a class that uses slots.
- apply many more __slots__.  mem use for nova now at 46% savings
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for memoization on a class that uses slots.
- apply many more __slots__.  mem use for nova now at 46% savings
</pre>
</div>
</content>
</entry>
<entry>
<title>- The :meth:`.PropComparator.of_type` modifier has been</title>
<updated>2014-11-24T23:49:32+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-11-24T23:49:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=de11f9498258182cbb6668b72067ec3f43a90415'/>
<id>de11f9498258182cbb6668b72067ec3f43a90415</id>
<content type='text'>
improved in conjunction with loader directives such as
:func:`.joinedload` and :func:`.contains_eager` such that if
two :meth:`.PropComparator.of_type` modifiers of the same
base type/path are encountered, they will be joined together
into a single "polymorphic" entity, rather than replacing
the entity of type A with the one of type B.  E.g.
a joinedload of ``A.b.of_type(BSub1)-&gt;BSub1.c`` combined with
joinedload of ``A.b.of_type(BSub2)-&gt;BSub2.c`` will create a
single joinedload of ``A.b.of_type((BSub1, BSub2)) -&gt; BSub1.c, BSub2.c``,
without the need for the ``with_polymorphic`` to be explicit
in the query.
fixes #3256
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
improved in conjunction with loader directives such as
:func:`.joinedload` and :func:`.contains_eager` such that if
two :meth:`.PropComparator.of_type` modifiers of the same
base type/path are encountered, they will be joined together
into a single "polymorphic" entity, rather than replacing
the entity of type A with the one of type B.  E.g.
a joinedload of ``A.b.of_type(BSub1)-&gt;BSub1.c`` combined with
joinedload of ``A.b.of_type(BSub2)-&gt;BSub2.c`` will create a
single joinedload of ``A.b.of_type((BSub1, BSub2)) -&gt; BSub1.c, BSub2.c``,
without the need for the ``with_polymorphic`` to be explicit
in the query.
fixes #3256
</pre>
</div>
</content>
</entry>
</feed>
