Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Kudinkin <ak@anyscale.com>
  • Loading branch information
alexeykudinkin committed Oct 25, 2024
1 parent 711ef02 commit b810d01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/ray/data/_internal/output_buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ def next(self) -> Block:
#
# - (Finalized) Target blocks sliced from the original one
# are *copied* to avoid holding up original one
# - Temporary remainder of the block should *NOT* be copied such as to
# avoid repeatedly copying the remainder of the block, resulting in
# O(N^2) total bytes being copied
# - Temporary remainder of the block should *NOT* be copied
# such as to avoid repeatedly copying the remainder of the
# block, resulting in O(N^2) total bytes being copied
block_to_yield = block.slice(0, target_num_rows, copy=True)
block_remainder = block.slice(
target_num_rows, block.num_rows(), copy=False
Expand Down

0 comments on commit b810d01

Please sign in to comment.