From 80a02c6f9a6ca6a6bfc20a25553426026e0d4be4 Mon Sep 17 00:00:00 2001 From: Lawrence Mitchell Date: Thu, 21 Mar 2024 18:54:15 +0000 Subject: [PATCH] Remove boundscheck=False setting in cython files (#15362) 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: https://github.com/rapidsai/cudf/pull/15362 --- python/cudf/cudf/_lib/json.pyx | 2 -- python/cudf/cudf/_lib/parquet.pyx | 2 -- 2 files changed, 4 deletions(-) diff --git a/python/cudf/cudf/_lib/json.pyx b/python/cudf/cudf/_lib/json.pyx index 9bbad0f61c3..f2e03391f08 100644 --- a/python/cudf/cudf/_lib/json.pyx +++ b/python/cudf/cudf/_lib/json.pyx @@ -1,7 +1,5 @@ # Copyright (c) 2019-2024, NVIDIA CORPORATION. -# cython: boundscheck = False - import io import os from collections import abc diff --git a/python/cudf/cudf/_lib/parquet.pyx b/python/cudf/cudf/_lib/parquet.pyx index d3f5b423373..ce1cba59bec 100644 --- a/python/cudf/cudf/_lib/parquet.pyx +++ b/python/cudf/cudf/_lib/parquet.pyx @@ -1,7 +1,5 @@ # Copyright (c) 2019-2024, NVIDIA CORPORATION. -# cython: boundscheck = False - import io import pyarrow as pa