how to get table reference form table name of named table of ets table?
thak you _______________________________________________ erlang-questions mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-questions |
It is currently not possible to get the Table Id (tid()) from a named ets table. We have recently discussed to add a function ets:whereis/1 or ets:name2id/1 for this purpose so we have it in our backlog.On Sun, Jan 14, 2018 at 3:59 PM, Karlo Kuna <[hidden email]> wrote:
_______________________________________________ erlang-questions mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-questions |
is there any time frame for this feature? On Mon, Jan 15, 2018 at 2:38 PM, Kenneth Lundin <[hidden email]> wrote:
_______________________________________________ erlang-questions mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-questions |
On Mon, Jan 15, 2018 at 6:28 PM, Karlo Kuna <[hidden email]> wrote:
No, we do not know when it will get done. If you wish to speed things along, a contribution would be most welcome. It should be quite simple to implement. Lukas _______________________________________________ erlang-questions mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-questions |
In reply to this post by Karlo Kuna
The current plan is to introduce an ets:whereis/1 function returning the table reference in OTP 21. Using the reference to access the table will be more efficient than using the name. OTP 21 is planned for release mid June but with release candidate in May.On Mon, Jan 15, 2018 at 6:28 PM, Karlo Kuna <[hidden email]> wrote:
_______________________________________________ erlang-questions mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-questions |
this is great news looking forward to OTP 21 On Fri, Feb 2, 2018 at 9:57 AM, Kenneth Lundin <[hidden email]> wrote:
_______________________________________________ erlang-questions mailing list [hidden email] http://erlang.org/mailman/listinfo/erlang-questions |
Free forum by Nabble | Edit this page |