1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00
guile/benchmark-suite/benchmarks
Ludovic Courtès a41b07a34f rdelim: Speed up 'read-string' (aka. 'get-string-all'.)
This yields a 20% improvement on the "read-string" benchmark.

* module/ice-9/rdelim.scm (read-string): Rewrite as a 'case-lambda',
  with a tight loop around 'read-char', and without using
  'read-string!'.
* test-suite/tests/rdelim.test ("read-string")["longer than 100 chars,
  with limit"]: New test.
* benchmark-suite/benchmarks/ports.bm ("rdelim")["read-string"]: New
  benchmark.
2014-05-28 23:00:20 +02:00
..
0-reference.bm Changes so that benchmark-guile runs successfully 2009-09-22 00:39:57 +01:00
arithmetic.bm avoid inexact iteration count in benchmarks 2012-04-23 21:46:06 +02:00
bytevectors.bm rename (rnrs bytevector) to (rnrs bytevectors) 2010-06-01 13:26:11 +02:00
chars.bm Changes so that benchmark-guile runs successfully 2009-09-22 00:39:57 +01:00
continuations.bm Increase benchmark iterations to improve precision in comparisons over time 2009-11-03 22:50:07 +00:00
if.bm Changes so that benchmark-guile runs successfully 2009-09-22 00:39:57 +01:00
logand.bm Changes so that benchmark-guile runs successfully 2009-09-22 00:39:57 +01:00
ports.bm rdelim: Speed up 'read-string' (aka. 'get-string-all'.) 2014-05-28 23:00:20 +02:00
r6rs-arithmetic.bm avoid inexact iteration count in benchmarks 2012-04-23 21:46:06 +02:00
read.bm Optimize `scm_read_string'. 2012-05-07 00:32:01 +02:00
srfi-1.bm add map and for-each benchmarks 2011-05-08 17:38:10 +02:00
srfi-13.bm Increase benchmark iterations to improve precision in comparisons over time 2009-11-03 22:50:07 +00:00
strings.bm Benchmarks for string comparisons 2011-03-19 15:25:28 -07:00
structs.bm Add struct & vector benchmarks. 2009-12-11 13:03:46 +01:00
subr.bm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
uniform-vector-read.bm Increase benchmark iterations to improve precision in comparisons over time 2009-11-03 22:50:07 +00:00
vectors.bm Add struct & vector benchmarks. 2009-12-11 13:03:46 +01:00
vlists.bm Add `(ice-9 vlist)'. 2010-02-03 00:02:14 +01:00
write.bm Fix copyright year and module name of `write.bm'. 2010-09-15 18:27:47 +02:00