diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-05-06 19:29:34 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-05-07 10:17:21 +0200 |
commit | dc177967363d16c155042dbaa2c911f59f0efd55 (patch) | |
tree | 05643e592657ff127893191596aeeaae4ebff860 /erts/emulator/beam/erl_db_util.h | |
parent | f436d84d990bb06e6bbbf55659d4f3a47bc1c556 (diff) | |
download | otp-dc177967363d16c155042dbaa2c911f59f0efd55.tar.gz otp-dc177967363d16c155042dbaa2c911f59f0efd55.tar.bz2 otp-dc177967363d16c155042dbaa2c911f59f0efd55.zip |
erts: ETS ordered_set cannot use it's optimization with Maps
The optimization cannot be used due to that the pattern cannot be ordered.
Diffstat (limited to 'erts/emulator/beam/erl_db_util.h')
-rw-r--r-- | erts/emulator/beam/erl_db_util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_db_util.h b/erts/emulator/beam/erl_db_util.h index ca206c7f58..b2d5a306cb 100644 --- a/erts/emulator/beam/erl_db_util.h +++ b/erts/emulator/beam/erl_db_util.h @@ -342,6 +342,7 @@ void* db_store_term(DbTableCommon *tb, DbTerm* old, Uint offset, Eterm obj); void* db_store_term_comp(DbTableCommon *tb, DbTerm* old, Uint offset, Eterm obj); Eterm db_copy_element_from_ets(DbTableCommon* tb, Process* p, DbTerm* obj, Uint pos, Eterm** hpp, Uint extra); +int db_has_map(Eterm obj); int db_has_variable(Eterm obj); int db_is_variable(Eterm obj); void db_do_update_element(DbUpdateHandle* handle, |