Skip to content

Conversation

@darvid
Copy link
Owner

@darvid darvid commented Nov 29, 2025

  • Change lengths array from Py_ssize_t to uint32_t to match hs_scan_vector API
  • On 64-bit systems, casting Py_ssize_t* to uint32_t* caused Hyperscan to read incorrect buffer lengths (every other buffer got length 0)
  • Update test expectations to reflect correct match offsets

- Change lengths array from Py_ssize_t to uint32_t to match hs_scan_vector API
- On 64-bit systems, casting Py_ssize_t* to uint32_t* caused Hyperscan to read
  incorrect buffer lengths (every other buffer got length 0)
- Update test expectations to reflect correct match offsets
- Use branch ref name instead of SHA for git fetch (SHA fetch doesn't work)
- Consolidate PR handling into single block to avoid duplicate fetches
- Add stderr suppression for cleaner error handling
@darvid darvid force-pushed the fix/issue-202-vectored-scan-type-aliasing branch from ba0bd01 to e70ebb5 Compare November 29, 2025 09:59
@darvid darvid merged commit 45608e4 into main Nov 29, 2025
99 checks passed
@darvid darvid deleted the fix/issue-202-vectored-scan-type-aliasing branch November 29, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants