IRC channel logs
2018-07-12.log
back to list of logs
<lloda>how do I get emacs to indent #:export like, #:export (a b\\n***align below a not below b***) <civodul>good question, i don't have a good answer to that <civodul>it's one of these warts you get used to ;-) <siraben>Hi #guile, I wrote a fibonacci function "fib" and I want to see how long it takes for an input n, how do I do something like (map (lambda (x) (<how-long-it-takes> (fib x))) '(30 31 32))? <siraben>I want to collect data on the time taken for fib to run on an input N <siraben>I want that map to return a list of timings in seconds, e.g. (1.2 1.3 1.4) <lloda>siraben: you can use the functions get-internal-run-time get-internal-real-time and the variable internal-time-units-per-second