[OE-core] [PATCH] ptest: d.keys() is slow, use a list instead

Otavio Salvador otavio at ossystems.com.br
Tue Jan 14 11:56:06 UTC 2014


On Tue, Jan 14, 2014 at 9:43 AM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> Unfortunately d.keys is extremely slow. Using a list in this case should be
> fine since the addtask lines are immediately above the code and aren't
> going to change often.
>
> Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
>

A code comment stating it needs to be update would be good.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140114/49a4a6e9/attachment-0002.html>


More information about the Openembedded-core mailing list