-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
There are quite a bit of caveats implementing updates, not sure if they are really needed when probably retrieving and re-inserting data would be easier. So only a feature if a good API can be figured out.
https://www.erlang.org/doc/apps/stdlib/ets.html#update_element/4
The function fails with reason badarg in the following situations:
- The table type is not set or ordered_set.
- The element to update is also the key.
https://www.erlang.org/doc/apps/stdlib/ets.html#select_replace/2
For the moment, due to performance and semantic constraints, tables of type bag
are not yet supported.
In cases the feature is not supported, maybe just implement a less efficient fallback.
Metadata
Metadata
Assignees
Labels
No labels