-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Add a random access ets:match
#7561
Comments
There already is an optimization for
|
Hi , @sverker |
This is similar feature request as #7399. |
Is your feature request related to a problem? Please describe.
We are heavy dependence on the order set and the
ets:next
to find a beginning key and then apply a function both on it and the following, but theest:next
won't return an iterator, this means the search always starting from the root, theest:match_xxx
can usecontinuation()
as an iterator, but unfortunately it without random access support.I think it would be better to support iterating with a function and from a random access point.
Describe the solution you'd like
ets:match_xxx(Table, FirstKey, Pattern)
ets:iterate_with(Table, Key, Function)
The text was updated successfully, but these errors were encountered: