Skip to content
Snippets Groups Projects
  1. Dec 03, 2018
  2. Dec 02, 2018
  3. Nov 19, 2018
  4. Nov 08, 2018
  5. Jan 31, 2018
  6. Aug 15, 2017
  7. Aug 14, 2017
  8. May 05, 2017
  9. Apr 10, 2017
  10. Feb 12, 2017
  11. Nov 22, 2016
  12. Oct 27, 2016
  13. Aug 23, 2016
    • Attila Lendvai's avatar
      numbers.lisp/lerp: The correct version is numerically stable, · 926a0666
      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.
      926a0666
  14. Apr 03, 2016
    • Jan Moringen's avatar
      use implementation's EMPTYP when available · afaf1a16
      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.
      afaf1a16
    • Jan Moringen's avatar
      use EMPTYP instead of e.g. PLUSP and LENGTH were appropriate · 8b89a71b
      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)
      8b89a71b
    • Jan Moringen's avatar
      add READ-STREAM-CONTENT-INTO-{STRING,BYTE-VECTOR} · dce97236
      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
      dce97236
  15. Apr 02, 2016
  16. Apr 27, 2015
  17. Jul 30, 2014
  18. May 12, 2014
  19. Mar 04, 2014
Loading