Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: advance_array_pointer(array &$value, int $positions): int #14

Open
TysonAndre opened this issue Jun 22, 2021 · 0 comments
Open

Idea: advance_array_pointer(array &$value, int $positions): int #14

TysonAndre opened this issue Jun 22, 2021 · 0 comments
Assignees

Comments

@TysonAndre
Copy link
Owner

This can be efficient when the array has no gaps internally.

This would allow efficient binary searching, etc. in code written in php

@TysonAndre TysonAndre self-assigned this Jun 22, 2021
@TysonAndre TysonAndre changed the title Idea: next(array &$value, int $skipBy) Idea: advance_array_pointer(array &$value, int $positions): int Jun 22, 2021
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

No branches or pull requests

1 participant