Forked from
alexandria / alexandria
Source project has a limited visibility.
-
Jan Moringen authored
EMPTYP usually (except, maybe, for some user-defined sequence types) has two advantages: 1. it has O(1) runtime while LENGTH can be O(n) 2. it can work on user-defined, infinite sequences (given implementation support and integration of ALEXANDRIA:EMPTYP with the implementation's mechanism as is the case for SBCL)
Jan Moringen authoredEMPTYP usually (except, maybe, for some user-defined sequence types) has two advantages: 1. it has O(1) runtime while LENGTH can be O(n) 2. it can work on user-defined, infinite sequences (given implementation support and integration of ALEXANDRIA:EMPTYP with the implementation's mechanism as is the case for SBCL)