avocado-framework / avocado

Avocado is a set of tools and libraries to help with automated testing. One can call it a test framework with benefits. Native tests are written in Python and they follow the unittest pattern, but any executable can serve as a test.
https://avocado-framework.github.io/
Other
336 stars 335 forks source link

Merge two loops #5923

Closed changxuqing closed 1 month ago

changxuqing commented 2 months ago

The operations of converting characters to ASCII values and generating a list of bits can be combined into one loop, reducing the number of passes.

changxuqing commented 1 month ago

Hi @richtja ,Could you please help me check the pr?