Skip to content

Release v0.2.1#6

Merged
dnkats merged 1 commit into
mainfrom
ver0.2.1
Feb 3, 2026
Merged

Release v0.2.1#6
dnkats merged 1 commit into
mainfrom
ver0.2.1

Conversation

@dnkats

@dnkats dnkats commented Feb 3, 2026

Copy link
Copy Markdown
Member

Fix type stability, add boundschecks

Fix type stability, add boundschecks
Copilot AI review requested due to automatic review settings February 3, 2026 09:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This release (v0.2.1) focuses on improving type stability and performance through bounds checking optimizations and inline annotations.

Changes:

  • Added @boundscheck guards to buffer allocation and reshape functions to allow bounds checks to be disabled in optimized builds
  • Added @inline annotations to frequently called buffer access functions
  • Improved exception safety in buffer macros using try-finally blocks
  • Fixed type stability issues in repair! function for ThreadsMAllocBuffer

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/threadsbuffer.jl Added @inline to buffer access functions, fixed repair! type stability, improved macro exception safety with try-finally, fixed error handling
src/mbuffer.jl Added @propagate_inbounds and @boundscheck to allocation functions, improved macro exception safety with try-finally, fixed error handling
src/buffer.jl Added @propagate_inbounds and @boundscheck to allocation and reshape functions
src/Buffers.jl Simplified function declarations by removing unused parameter signatures
profile/jet.jl Updated test code with renamed variables and expanded test coverage for different buffer types
Project.toml Bumped version to 0.2.1, removed unused Test dependency
CHANGELOG.md Added release notes for v0.2.1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dnkats dnkats merged commit 21dde84 into main Feb 3, 2026
7 of 8 checks passed
@dnkats dnkats deleted the ver0.2.1 branch February 3, 2026 09:44
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