Skip to content

Commit

Permalink
Remove boundscheck=False setting in cython files (#15362)
Browse files Browse the repository at this point in the history
Since the performance in these files is not critical, we don't need to elide bounds checking in (for example) list accesses.

- Closes #15360

Authors:
  - Lawrence Mitchell (https://github.com/wence-)

Approvers:
  - https://github.com/brandon-b-miller
  - Bradley Dice (https://github.com/bdice)

URL: #15362
  • Loading branch information
wence- authored Mar 21, 2024
1 parent ebd2ce7 commit 80a02c6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions python/cudf/cudf/_lib/json.pyx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Copyright (c) 2019-2024, NVIDIA CORPORATION.

# cython: boundscheck = False

import io
import os
from collections import abc
Expand Down
2 changes: 0 additions & 2 deletions python/cudf/cudf/_lib/parquet.pyx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Copyright (c) 2019-2024, NVIDIA CORPORATION.

# cython: boundscheck = False

import io

import pyarrow as pa
Expand Down

0 comments on commit 80a02c6

Please sign in to comment.