bzr is such a small (code size wise, compared to some other python beasts) that I don't think it's a concern, but nonetheless I'll bear it in mind in my future testing.<br><br><div><span class="gmail_quote">On 3/5/06, <b class="gmail_sendername">
Diwaker Gupta</b> <<a href="mailto:diwaker.lists@gmail.com">diwaker.lists@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The memory overhead of Psyco is something to bear in mind. This is<br>from the website:<br><br>"The memory overhead of Psyco is currently large. I has been reduced a<br>bit over time, but it is still an overhead. This overhead is
<br>proportional to the amount of Python code that Psyco rewrites; thus if<br>your application has a few algorithmic "core" functions, these are the<br>ones you will want Psyco to accelerate --- not the whole program."
<br><br>Diwaker<br><br>On 3/5/06, Martin Pool <<a href="mailto:mbp@sourcefrog.net">mbp@sourcefrog.net</a>> wrote:<br>><br>> On 2006-03-06 Mon, at 10:32 AM, Ivan Krstic wrote:<br>><br>> > John Dong wrote:
<br>> >> Below is the quick patch I made; if psyco is installed, it'll use<br>> >> it in<br>> >> the unobtrusive background profiling mode.<br>> ><br>> > Using it in background profiling mode is rather inefficient, as psyco
<br>> > has to learn what to pseudo-JIT on every bzr invocation. It would be<br>> > better to do some profiling and psyco a few specific code paths<br>> > that can<br>> > benefit from it, and where bzr spends a significant portion of its
<br>> > running time.<br>> ><br>> > If Rob and Martin support adding some psyco directives to bzr, this<br>> > would be a neat and very quick little project for you to pick up.<br>><br>> I have no objection.
<br>><br>> --<br>><br>> Martin Pool<br>><br>><br>><br>><br>><br><br><br>--<br>Web/Blog/Gallery: <a href="http://floatingsun.net/blog">http://floatingsun.net/blog</a><br></blockquote></div><br>