[Python-Dev] PEP 443 - Single-dispatch generic functions (including ABC support)
Nick Coghlan
ncoghlan at gmail.com
Sat May 25 19:15:44 CEST 2013
More information about the Python-Dev mailing list
Sat May 25 19:15:44 CEST 2013
- Previous message: [Python-Dev] PEP 443 - Single-dispatch generic functions (including ABC support)
- Next message: [Python-Dev] PEP 443 - Single-dispatch generic functions (including ABC support)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, May 26, 2013 at 2:48 AM, PJ Eby <pje at telecommunity.com> wrote: > On Sat, May 25, 2013 at 10:59 AM, Nick Coghlan <ncoghlan at gmail.com> wrote: >> Given the global nature of the cache invalidation, it may be better as >> a module level abc.get_cache_token() function. > > Well, since the only reason to ever use it is to improve performance, > it'd be better to expose it as an attribute than as a function. ;-) A single function call is hardly in the same league as arbitrary traversal of the object graph. Cheers, Nick. -- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message: [Python-Dev] PEP 443 - Single-dispatch generic functions (including ABC support)
- Next message: [Python-Dev] PEP 443 - Single-dispatch generic functions (including ABC support)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list