2018-04-01 20:55 GMT+03:00 Arkadiusz Bulski <arek.bul...@gmail.com>:

> What would be the most performance efficient way of checking if a bytes is
> all zeros?


Try `not any(key)` ;)

With kind regards,
-gdg
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to