:bagcomes with the implementation overhead of checking for duplicates on insert; so unless you explicitly need to prevent duplicate full records, you should use:duplicate_bagover:bag.
i.e. may be worth dealing with duplicates after take/2
:bagcomes with the implementation overhead of checking for duplicates on insert; so unless you explicitly need to prevent duplicate full records, you should use:duplicate_bagover:bag.
i.e. may be worth dealing with duplicates after take/2