durusmail: quixote-users: legal py & uri names don't overlap...
legal py & uri names don't overlap...
2004-04-05
2004-04-05
2004-04-05
2004-04-05
legal py & uri names don't overlap...
Neil Schemenauer
2004-04-05
On Mon, Apr 05, 2004 at 01:27:07PM -0400, Kendall Clark wrote:
> My hesitation to using _q_lookup to get around the naming mismatch has
> more to do with my totally uninformed hunch that it's slower than
> finding the same thing more "statically" (?) in a _q_exports.

I wouldn't worry about it (unless you are serving in the order of
hundreds of pages a second).

> Well, uninformed worries about it being "slower", and it just
> seems wrong, since it's a hack to get around the name mismatch.

Well, you need to do something.  A one line _q_exports function
makes it clear that something special is going on.  I'd prefer not
to add the special "_q_exports is a dict" code to the publisher.

  Neil


reply