By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,594 Members | 3,552 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,594 IT Pros & Developers. It's quick & easy.

Psyco tagging the same function multiple times

P: n/a
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
Jun 28 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a

sk**@pobox.com wrote:
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.

Jun 28 '06 #2

P: n/a
What (if anything) does it mean that it tagged Watcher.processUpdate
more than once?


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

Jun 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.