Fix minor performance issue with leak checker destroy by nrspruit · Pull Request #401 · oneapi-src/level-zero

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@nrspruit

Copy link Copy Markdown

Contributor

No description provided.

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
Copy link Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses a minor performance optimization in the leak checker's destroy functionality by reducing unnecessary string copies during validation.

Key Changes:

  • Modified variable declaration to use const reference instead of value copy in the leak checker loop

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

@nrspruit nrspruit merged commit c62a194 into oneapi-src:master

Dec 11, 2025

48 checks passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot Copilot left review comments

@rwmcguir rwmcguir rwmcguir approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@nrspruit @rwmcguir