1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00
guile/module
Ludovic Courtès 0360843ace srfi-1: Rewrite 'find' in Scheme.
This halves the wall-clock time of:

  guile -c '(use-modules (srfi srfi-1)) (define lst (make-list 100000000 1)) (find zero? lst)'

and yields an 18% speedup on:

  guile -c '(use-modules (srfi srfi-1)) (define lst (make-list 100000000 1)) (find (lambda (x) (= 2 x)) lst)'

* libguile/srfi-1.c (scm_srfi1_find): Remove.
* libguile/srfi-1.h (scm_srfi1_find): Likewise.
* module/srfi/srfi-1.scm (find): New procedure.
* doc/ref/srfi-modules.texi (SRFI-1 Searching): Adjust docstring.
2020-06-17 17:25:23 +02:00
..
ice-9 Update match's no-matching-pattern code to use "throw" 2020-05-17 22:26:17 +02:00
language Make CSE more robust 2020-06-12 15:58:54 +02:00
oop goops: Fix 'instance?' to work on objects that aren't structs. 2018-08-07 12:05:31 +02:00
rnrs rnrs: Export '&assertion' from (rnrs conditions). 2020-01-21 17:56:13 +01:00
scheme Support R7RS define-library 2020-01-12 20:31:47 +01:00
scripts Delay loading CPS unless CPS compiler used 2020-05-12 09:54:19 +02:00
srfi srfi-1: Rewrite 'find' in Scheme. 2020-06-17 17:25:23 +02:00
sxml Remove duplicate definitions of call/ec' and let/ec'. 2013-04-06 15:40:19 +02:00
system Change -O1 compiler to use baseline and also resolve primitives 2020-06-01 21:15:39 +02:00
texinfo texinfo: Properly render @acronym in plain text. 2020-01-29 15:19:37 +01:00
web web: 'http-get' & co. now honor #:verify-certificate?. 2020-05-27 23:28:14 +02:00
Makefile.am Another minor module compile order tweak 2020-05-13 09:39:41 +02:00
rnrs.scm Define top-level bindings for aux syntax: else, =>, _, ... 2019-09-12 21:50:51 +02:00
statprof.scm Statprof reports primitive names 2020-06-04 11:46:34 +02:00
texinfo.scm texinfo: fix @url{@@} parsing 2014-11-09 15:56:33 +00:00