Created
July 18, 2013 06:52
-
-
Save blt/6027200 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> erl | |
Erlang R15B03 (erts-5.9.3) [source] [64-bit] [smp:8:8] [async-threads:0] [hipe] [kernel-poll:false] | |
Eshell V5.9.3 (abort with ^G) | |
1> Foo = <<"foo">>. | |
<<"foo">> | |
2> ets:new(list_to_atom(binary_to_list(Foo)), [set, named_table]). | |
foo | |
3> ets:i(). | |
id name type size mem owner | |
---------------------------------------------------------------------------- | |
13 code set 261 12031 code_server | |
4110 code_names set 56 8750 code_server | |
8207 shell_records ordered_set 0 96 <0.25.0> | |
ac_tab ac_tab set 6 850 application_controller | |
file_io_servers file_io_servers set 0 306 file_server_2 | |
foo foo set 0 306 <0.31.0> | |
global_locks global_locks set 0 306 global_name_server | |
global_names global_names set 0 306 global_name_server | |
global_names_ext global_names_ext set 0 306 global_name_server | |
global_pid_ids global_pid_ids bag 0 306 global_name_server | |
global_pid_names global_pid_names bag 0 306 global_name_server | |
inet_cache inet_cache bag 0 306 inet_db | |
inet_db inet_db set 29 577 inet_db | |
inet_hosts_byaddr inet_hosts_byaddr bag 0 306 inet_db | |
inet_hosts_byname inet_hosts_byname bag 0 306 inet_db | |
inet_hosts_file_byaddr inet_hosts_file_byaddr bag 0 306 inet_db | |
inet_hosts_file_byname inet_hosts_file_byname bag 0 306 inet_db | |
ok | |
4> ets:new(list_to_atom(binary_to_list(<<"+23487523">>)), [set, named_table]). | |
'+23487523' | |
5> ets:i(). | |
id name type size mem owner | |
---------------------------------------------------------------------------- | |
13 code set 261 12031 code_server | |
4110 code_names set 56 8750 code_server | |
8207 shell_records ordered_set 0 96 <0.25.0> | |
'+23487523' '+23487523' set 0 306 <0.31.0> | |
ac_tab ac_tab set 6 850 application_controller | |
file_io_servers file_io_servers set 0 306 file_server_2 | |
foo foo set 0 306 <0.31.0> | |
global_locks global_locks set 0 306 global_name_server | |
global_names global_names set 0 306 global_name_server | |
global_names_ext global_names_ext set 0 306 global_name_server | |
global_pid_ids global_pid_ids bag 0 306 global_name_server | |
global_pid_names global_pid_names bag 0 306 global_name_server | |
inet_cache inet_cache bag 0 306 inet_db | |
inet_db inet_db set 29 577 inet_db | |
inet_hosts_byaddr inet_hosts_byaddr bag 0 306 inet_db | |
inet_hosts_byname inet_hosts_byname bag 0 306 inet_db | |
inet_hosts_file_byaddr inet_hosts_file_byaddr bag 0 306 inet_db | |
inet_hosts_file_byname inet_hosts_file_byname bag 0 306 inet_db | |
ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment