[Piglit] [PATCH 2/4] arb_shader_precision: add framework for calculating tolerances for complex functions

Ilia Mirkin imirkin at alum.mit.edu
Thu Feb 19 14:06:50 PST 2015


On Thu, Feb 19, 2015 at 4:57 PM, Dylan Baker <baker.dylan.c at gmail.com> wrote:
> I am however adamant that if we're using filter and map together a
> comprehension is much more readable.
>
> [f(x) for x in a_list if x is not None]
> is much more readable than
> filter(map(f, a_list), lambda x: x is not None)

Yeah, the second lambda's get involved, it's basically over (for
readability). Or the second you start chaining.


More information about the Piglit mailing list