You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We may also consider to inherit from sortedcontainers.SortedList instead of list (though we cannot useupdate to implement add_list).
We should first check whether and when we actually get a relevance performance gain, as Python's in seems to be very fast (80ns with 1 million entries).
The text was updated successfully, but these errors were encountered:
The
BiobjectiveNondominatedSortedList
class should overwrite__contains___
when the list is (very) long with something likehttps://docs.python.org/3/reference/datamodel.html#object.__contains__
We may also consider to inherit from
sortedcontainers.SortedList
instead oflist
(though we cannot useupdate
to implementadd_list
).We should first check whether and when we actually get a relevance performance gain, as Python's
in
seems to be very fast (80ns with 1 million entries).The text was updated successfully, but these errors were encountered: