Psyco tagging the same function multiple times

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • skip@pobox.com

    #1

    Psyco tagging the same function multiple times

    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__.Watche r.processUpdate %
    12:45:24.95 tag function: __main__.Watche r.processUpdate %
    12:45:55.12 tag function: __main__.Watche r.processUpdate %
    12:46:12.29 tag function: __main__.Watche r.processUpdate %
    12:46:28.09 tag function: __main__.Watche r.processUpdate %
    12:47:05.32 tag function: __main__.Watche r.processUpdate %
    12:47:48.62 tag function: __main__.Watche r.processUpdate %
    12:48:09.63 tag function: __main__.Watche r.processUpdate %
    12:48:43.20 tag function: __main__.Watche r.processUpdate %
    12:49:58.80 tag function: __main__.Watche r.processUpdate %
    12:50:32.20 tag function: __main__.Watche r.processUpdate %
    12:51:07.91 tag function: __main__.Watche r.processUpdate %
    12:52:17.14 tag function: __main__.Watche r.processUpdate %
    12:52:33.67 tag function: __main__.Watche r.processUpdate %

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

    Thanks,

    Skip
  • olsongt@verizon.net

    #2
    Re: Psyco tagging the same function multiple times


    skip@pobox.com wrote:[color=blue]
    > 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__.Watche r.processUpdate %
    > 12:45:24.95 tag function: __main__.Watche r.processUpdate %
    > 12:45:55.12 tag function: __main__.Watche r.processUpdate %
    > 12:46:12.29 tag function: __main__.Watche r.processUpdate %
    > 12:46:28.09 tag function: __main__.Watche r.processUpdate %
    > 12:47:05.32 tag function: __main__.Watche r.processUpdate %
    > 12:47:48.62 tag function: __main__.Watche r.processUpdate %
    > 12:48:09.63 tag function: __main__.Watche r.processUpdate %
    > 12:48:43.20 tag function: __main__.Watche r.processUpdate %
    > 12:49:58.80 tag function: __main__.Watche r.processUpdate %
    > 12:50:32.20 tag function: __main__.Watche r.processUpdate %
    > 12:51:07.91 tag function: __main__.Watche r.processUpdate %
    > 12:52:17.14 tag function: __main__.Watche r.processUpdate %
    > 12:52:33.67 tag function: __main__.Watche r.processUpdate %
    >
    > What (if anything) does it mean that it tagged Watcher.process Update more
    > than once?
    >
    > Thanks,
    >
    > Skip[/color]

    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.

    Comment

    • skip@pobox.com

      #3
      Re: Psyco tagging the same function multiple times

      [color=blue][color=green]
      >> What (if anything) does it mean that it tagged Watcher.process Update
      >> more than once?[/color][/color]

      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

      Comment

      Working...