Skip to content

Make Vector<T>::bsearch use a const receiver#1711

Merged
dsnopek merged 1 commit into
godotengine:masterfrom
BenLubar:vector-bsearch-const
Nov 27, 2025
Merged

Make Vector<T>::bsearch use a const receiver#1711
dsnopek merged 1 commit into
godotengine:masterfrom
BenLubar:vector-bsearch-const

Conversation

@BenLubar

@BenLubar BenLubar commented Feb 19, 2025

Copy link
Copy Markdown
Contributor

Allows binary searches on const Vector<T> values.

This matches const Array.

See godotengine/godot#90341

@BenLubar
BenLubar requested a review from a team as a code owner February 19, 2025 19:47
@BenLubar
BenLubar force-pushed the vector-bsearch-const branch from d1dcd5f to 479d206 Compare February 19, 2025 19:53
@dsnopek dsnopek added enhancement This is an enhancement on the current functionality waiting for Godot PRs that can't be merged until an engine PR is merged first labels Feb 19, 2025
@dsnopek dsnopek added this to the 4.x milestone Feb 19, 2025

@Ivorforce Ivorforce left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

With godotengine/godot#112539 merged, we can merge this now!

@Ivorforce Ivorforce removed the waiting for Godot PRs that can't be merged until an engine PR is merged first label Nov 26, 2025
@dsnopek
dsnopek merged commit 2d7941d into godotengine:master Nov 27, 2025
@dsnopek

dsnopek commented Nov 27, 2025

Copy link
Copy Markdown
Collaborator

Thanks!

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

Labels

enhancement This is an enhancement on the current functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants