- Oct 27, 2016
-
-
Attila Lendvai authored
-
Attila Lendvai authored
-
Attila Lendvai authored
-
-
- Aug 23, 2016
-
-
Attila Lendvai authored
at the expense of an extra multiply. The unstable version can often be converted to a fast instruction on a lot of machines, though this is machine/implementation specific. As alexandria is more about correct code, than efficiency, and we're only talking about a single extra multiply, many would prefer the stable version. Patch by github.com/mfiano.
-
- Apr 03, 2016
-
-
Jan Moringen authored
Using the implementation's EMPTYP has the potential advantage of supporting user-defined sequence types (as is the case with SBCL). This commit tests for SEQUENCE:EMPTYP and defines ALEXANDRIA:EMPTYP in terms of it. For implementations that do not provide SEQUENCE:EMPTYP, nothing changes.
-
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 authored
export and document them use them in READ-FILE-INTO-{STRING,BYTE-VECTOR} no smoke test for READ-STREAM-CONTENT-INTO-BYTE-VECTOR due to lack of something like WITH-INPUT-FROM-BYTE-VECTOR
-
- Apr 02, 2016
-
-
Jan Moringen authored
-
Jan Moringen authored
-
- Apr 27, 2015
-
-
Fixed problems: 1) Unintended variable capture affecting KEY, HASH-TABLE and DEFAULT FORMS 2) Multiple evaluation of the KEY and HASH-TABLE forms
-
- Jul 30, 2014
-
-
ARRAY-DIMENSION-LIMIT is an exclusive upper bound. Signed-off-by:
Attila Lendvai <attila.lendvai@gmail.com>
-
Attila Lendvai authored
-
REMF does not remove duplicate keys, and re-scanning the list for each key is slower. Signed-off-by:
Attila Lendvai <attila.lendvai@gmail.com>
-
- May 12, 2014
-
-
Previously, BISECT-BIG was never called.
-
- Mar 04, 2014
-
-
Attila Lendvai authored
Suggested by Stas Boukarev.
-
Attila Lendvai authored
Patch by "James M. Lawrence" <llmjjmll@gmail.com>
-
Attila Lendvai authored
-
Signed-off-by:
Attila Lendvai <attila.lendvai@gmail.com>
-
- Feb 16, 2014
-
-
-
Attila Lendvai authored
-
- Jan 26, 2013
-
-
Nikodemus Siivola authored
-
Nikodemus Siivola authored
-
Nikodemus Siivola authored
-
Michael Stevens authored
-
Nikodemus Siivola authored
-
Nikodemus Siivola authored
-
Nikodemus Siivola authored
-
Jan Moringen authored
add IO chapter containing READ-FILE-INTO-{STRING,BYTE-VECTOR} change include/fun-alexandria-ensure-gethash.texinfo -> include/macro-alexandria-ensure-gethash.texinfo
-
- Apr 26, 2012
-
-
Nikodemus Siivola authored
Return NIL if the sequence is empty, instead of the NO-EXTREMUM nonsense. It was bad design, because it's not an error someone higher up the stack can sensibly handle, and handling it locally is too verbose and slow. (or (extremum ...) (error ...)) expresses the common case succintly, and fits the pattern of existing sequence functions. If it is deemed necessary, we can also add &KEY DEFAULT, but that seems overkill and has little precedent in sequence functions.
-
- Apr 25, 2012
-
-
Nikodemus Siivola authored
From http://www.cliki.net/EXTREMUM A simple version built on top of REDUCE for now.
-
- Apr 22, 2012
-
-
Nikodemus Siivola authored
Yech. Phui. Tabs.
-
Nikodemus Siivola authored
Workarounds for the Clisp and CMUCL failures. Newer Clisp's no longer have the stack-overflow for the hash-table test, so enable it too.
-
- Mar 30, 2012
-
-
Nikodemus Siivola authored
Added test-case.
-
Nikodemus Siivola authored
It's destructive.
-
Nikodemus Siivola authored
This reverts commit 485544d4. MEAN and MEDIAN are again non-generic, and DISPLACE-ARRAY is removed. Motivation on the mailing list.
-
- Mar 07, 2012
-
-
- Mar 02, 2012
-
-
Attila Lendvai authored
-
- Jan 20, 2012
-
-
tpapp authored
Objects other than sequences have means and medians (eg probability distributions, arrays, sequences/arrays wrapped in another object, etc), so it makes sense to make these functions generic. DISPLACE-ARRAY is a small utility function that is used in the implementation of MEDIAN for arrays, but is also of general utility because it makes the creation of displaced arrays simpler, dispensing with the need to specify the element type, and offering sensible defaults when one wants vectors. Also added tests for all the new functions/methods.
-
Jyrki Jaakkola authored
-