cl-faster-input
A project for exploring and improving large files
input, parsing, and processing in the Common Lisp applications.
Standard read-line
function is being blamed often for being too slow
and inefficient. Lisp offers a number of alternatives for reading and
processing text files and large logs.
This project will explore them all.
Check current benchmark results at the project wiki.
How to reproduce:
-
clone this repository into the
quickllisp/local-projects
directory (or any other, but don't forget to symlink the.asd
file!) -
start your lisp
-
load the benchmarks:
(ql:quickload :cl-faster-input)
-
run the benchmarks by executing one of:
(fio:benchmark-count-lines)
(fio:benchmark-mmap)
(fio:benchmark-read-line)
Any suggestions, corrections and ideas are welcome!