something about split()???

Terry Reedy tjreedy at udel.edu
Wed Aug 22 01:46:31 EDT 2012


On 8/21/2012 11:43 PM, mingqiang hu wrote:
> why filter is bad when use lambda ?

Inefficient, not 'bad'. Because the equivalent comprehension or 
generator expression does not require a function call.

-- 
Terry Jan Reedy




More information about the Python-list mailing list