Open
Description
Created during survey of commented code (#377).
The following methods of VariantArray
are not exposed to Rust:
sort_custom
bsearch
bsearch_custom
These methods may have some fringe uses, such as for replicating GDScript behavior exactly, but are clumsy to use and generally slower (due to FFI overhead) than collecting the values to Vec
and performing the corresponding operations purely on the Rust side.
Bindings for these methods can be added for completeness's sake, but it should be made clear in the documentation what the performance implications are.
Unresolved questions
Should bsearch
be included under its original Godot name, or binary_search
?