Commit 4c1ae92
authored
Skip validity dispatch for non-nullable arrays (#7748)
Two small optimizations:
- Skip the `is_invalid` vtable dispatch when `dtype` is non-nullable
- Demote the dtype-equality post-check to debug assertion. It's an
encoding-correctness invariant, not runtime input validation
Signed-off-by: Baris Palaska <barispalaska@gmail.com>1 parent abb40ef commit 4c1ae92
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
227 | | - | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
0 commit comments