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 :).
--Grant
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev