|Did you know ...||Search Documentation:|
:- use_module(library(lists)).(can be autoloaded)
==E2 holds. The complexity of the implementation is N*
**2. The list_to_set/2 predicate is more expensive than sort/2 because it involves, two sorts and a linear scan.
**2 and equality was tested using =/2.