[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Re: HOWTO: benchmarking monotone (was Re: "memory e
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] Re: HOWTO: benchmarking monotone (was Re: "memory exhausted" error for 'mtn list status' command) |
Date: |
Wed, 11 Oct 2006 23:42:50 -0700 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Thu, Oct 12, 2006 at 08:24:36AM +0200, Lapo Luchini wrote:
> Nathaniel Smith wrote:
> > In python, all the local variables come from
> > the function arguments.
>
> So, readability is preferred over an implicit shorter-to-write form...
> thinking about it, doesn't seems like a bad idea. Only a bit "strange"
> for a long time C++ and Java programmer ;-)
You might have heard me mumbling things like "explicit is better than
implicit". Try running 'import this' in the python interpreter :-).
> > (Nice to hear that the harness works on cygwin, too, there are
> > definitely a bunch of unixisms in there :-).)
>
> Yup.
> clear_cache doesn't compile, of course, and I don't have SciPy, but so
> far I only needed EmptyRepo and I guess SciPy is used in the "random"
> repos =)
Yeah, I really don't know why the stock random module doesn't have a
binomial variate generator. That's all scipy is used for.
I guess there probably is a way to make clear_cache work on windows;
if you feel like figuring it out then by all means add it :-).
-- Nathaniel
--
Electrons find their paths in subtle ways.