Skip to content

Make empty view on blobvector work#56

Merged
kuszmaul merged 4 commits into
mainfrom
bck-blobvector-views
Nov 26, 2025
Merged

Make empty view on blobvector work#56
kuszmaul merged 4 commits into
mainfrom
bck-blobvector-views

Conversation

@kuszmaul

@kuszmaul kuszmaul commented Nov 24, 2025

Copy link
Copy Markdown
Member

If view(bv::BlobVector, range) should not throw if range is empty, even if first(range) is out of bounds.

pointer(::BlobVector) doesn't check bounds (since pointer doesn't check bounds on arrays, for example).

By making out-of-range poiunters legal, it simplifies and speeds up view.

Ports the changes from 0.5.6 to main.

kuszmaul added a commit that referenced this pull request Nov 24, 2025
@kuszmaul
kuszmaul requested a review from NHDaly November 24, 2025 14:00
kuszmaul added a commit that referenced this pull request Nov 24, 2025
@kuszmaul
kuszmaul merged commit f5e9e69 into main Nov 26, 2025
2 of 4 checks passed
@kuszmaul
kuszmaul deleted the bck-blobvector-views branch November 26, 2025 15:46
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