-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/31/2015 12:20 PM, Michael Merickel wrote:
> On Mon, Aug 31, 2015 at 10:45 AM, Jonathan Vanasco
> <[email protected]> wrote:
> 
>> Wait... am I to read this that traversal searches down for success 
>> (A>B>C>D>E) and not up for failure (!E>!D>!C>!B>!A)?
>> 
>> Are there no hooks to support caching for parent levels?
>> 
> 
> Pyramid's traverser is your hook. You can completely replace it. The 
> traverser that is there solves the 90% issues but is explicitly not
> written to have further hooks. The traversal API surface [1] is
> incredibly tiny so it is simple to write your own in any way you wish
> without worrying about that API breaking in the future.

Note FWIW that the traverser comes out of Zope-land, where the graph
being traversed is in the ZODB, and hence heavily cached.  BTW, I have
been under the impression that the SQLAlchemy ORM already does some of
that caching:  am I wrong?


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJV5Ib4AAoJEPKpaDSJE9HY/6cQAK9eFS3CB72fUrM1MRIC8NOX
lTbNtKZUyVkCjNIkjnsBuq7kx1n1PNxOgAWsSz+qOtDASzWN+8vhAQ4mQFA1uuGA
8gHqfCBOJmiabqOQQfO5L+xG7IPVHuwEvX+wM3vwfOlTeZT3yKmh3JhTwkoHKPAw
VkLfDvEFWmX1AfOsCcvTIDN2JGGh9fTD2RLf5D32JIdpQzrk1H02FvlN4Ng7M+ek
l3EDJ3LiTMicE8iUyTTx9bGF/VAGFfrmZ53wSAfgxMUeyusGcb6/XRi9wF3+O2tW
MgL37BkaFMx4iixsUOfzdZfJAuH6/+HObcIpfbvwMLz8pULcZmGV8f85HnJ1y3Ni
hgh5B/H+tjAEqvVd0gWZbhz9sY7IiGRCRTDwqqFH9zqcL7OMqOtpb104xRiliyR7
U9QRt1CneDbrwxOVJy4T9Uulpvsj6xfTI10QKtrI18VTaXoeClduSfc2c+qW1v33
mP5HofIU36ouUI73sPsHWfOUkVmv+6tpvpnjX5tDS+VllU7mzxiwwAhYUq/2H9nE
S0W5lnXMALXa3Jfc2SUoowxvXNvGdpAtQGOoGdjARnS8MTh9ZAeJt7DgBeioLz+q
eha7fIzwjyb5KL68G3B8pdZ38FOY6vb6We6NIsU3MIMLaz0trhcFFF4jPWpUn8ud
ewawFSsF9wBIJP9yEzwB
=OnAw
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to