forked from apache/couchdb
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-7030 Use some cheaper BIFs for list and orddicts
lists:member/2 is cheaper than ordsets:is_element/2, and lists:keyfind/3 is cheaper than orddict:is_key/2 and orddict:fetch/2. Change-Id: I657f644d7b675097cec46cfbabb0aba4ff02fcd7 Reviewed-on: http://review.couchbase.org/22007 Tested-by: Filipe David Borba Manana <fdmanana@gmail.com> Reviewed-by: Damien Katz <damien@couchbase.com> Tested-by: Damien Katz <damien@couchbase.com>
- Loading branch information
Showing
3 changed files
with
70 additions
and
38 deletions.
There are no files selected for viewing
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
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
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