()
return _sum_bool_impl
Generate sum bool implementation.
Generate sum bool implementation.
Generate sum bool implementation .
def gen_sum_bool_impl():
    """Generate sum bool implementation."""
    def _sum_bool_impl(self):
        length = len(self)
        result = 0
        for i in prange(length):
            result += self[i]

        return result

    return _sum_bool_impl
def gen_sum_bool_impl ( ) : def _sum_bool_impl ( self ) : length = len ( self ) result = 0 for i in prange ( length ) : result += self [ i ] return result return _sum_bool_impl