[Chandler-dev] Comments requested on new test output format
grant at osafoundation.org
Wed Jul 12 17:24:56 PDT 2006
On 12 Jul, 2006, at 17:05, Mikeal Rogers wrote:
>> - remove Comment None
> So 'None' is obviously just the __str__() from a NoneType object.
> The default is None, since comments in report calls are optional.
> We can easily have a check for None, and not display anything in
> the output string, but this will increase the processing time for
> each output line by a little bit.
That "little bit" is very little indeed ... try running
python -m timeit -s 'x=object()' 'x is not None'
Even on PPC mac, that's returning a fraction of a microsecond for me.
I'm OK with an extra second of processing time for a more readable
million lines of output :).
More information about the chandler-dev