Psyco tagging the same function multiple times

S

skip

I'm trying some stuff with Psyco and am confused about its apparent desire
to compile the same function (or method) multiple times). Here's an
abstract from a recent run:

12:45:15.99 tag function: __main__.Watcher.processUpdate %
12:45:24.95 tag function: __main__.Watcher.processUpdate %
12:45:55.12 tag function: __main__.Watcher.processUpdate %
12:46:12.29 tag function: __main__.Watcher.processUpdate %
12:46:28.09 tag function: __main__.Watcher.processUpdate %
12:47:05.32 tag function: __main__.Watcher.processUpdate %
12:47:48.62 tag function: __main__.Watcher.processUpdate %
12:48:09.63 tag function: __main__.Watcher.processUpdate %
12:48:43.20 tag function: __main__.Watcher.processUpdate %
12:49:58.80 tag function: __main__.Watcher.processUpdate %
12:50:32.20 tag function: __main__.Watcher.processUpdate %
12:51:07.91 tag function: __main__.Watcher.processUpdate %
12:52:17.14 tag function: __main__.Watcher.processUpdate %
12:52:33.67 tag function: __main__.Watcher.processUpdate %

What (if anything) does it mean that it tagged Watcher.processUpdate more
than once?

Thanks,

Skip
 
O

olsongt

I'm trying some stuff with Psyco and am confused about its apparent desire
to compile the same function (or method) multiple times). Here's an
abstract from a recent run:

12:45:15.99 tag function: __main__.Watcher.processUpdate %
12:45:24.95 tag function: __main__.Watcher.processUpdate %
12:45:55.12 tag function: __main__.Watcher.processUpdate %
12:46:12.29 tag function: __main__.Watcher.processUpdate %
12:46:28.09 tag function: __main__.Watcher.processUpdate %
12:47:05.32 tag function: __main__.Watcher.processUpdate %
12:47:48.62 tag function: __main__.Watcher.processUpdate %
12:48:09.63 tag function: __main__.Watcher.processUpdate %
12:48:43.20 tag function: __main__.Watcher.processUpdate %
12:49:58.80 tag function: __main__.Watcher.processUpdate %
12:50:32.20 tag function: __main__.Watcher.processUpdate %
12:51:07.91 tag function: __main__.Watcher.processUpdate %
12:52:17.14 tag function: __main__.Watcher.processUpdate %
12:52:33.67 tag function: __main__.Watcher.processUpdate %

What (if anything) does it mean that it tagged Watcher.processUpdate more
than once?

Thanks,

Skip

I think that's what Armin means by a *specializing* compiler. I
believe it will compile multiple versions based on the arguments going
into a block of code.
 
S

skip

olsongt> I think that's what Armin means by a *specializing* compiler.
olsongt> I believe it will compile multiple versions based on the
olsongt> arguments going into a block of code.

I don't think that's the case here. The types of the arguments to this
particular method are always the same (self and a complex SWIG-wrapped
beast). It's not like I'm passing in floats one time and ints the next.

Skip
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top