[Mesa-dev] [PATCH 13/14] util/gen_xmlpool: Don't use len to test for container emptiness

Emil Velikov emil.l.velikov at gmail.com
Wed Oct 31 18:19:11 UTC 2018


On Fri, 26 Oct 2018 at 18:24, Dylan Baker <dylan at pnwbakers.com> wrote:
>
> This is a very common python anti-pattern. Not using length allows us to
> go through faster C paths, but has the same meaning.

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

-Emil


More information about the mesa-dev mailing list