Re: Performance Observation

2014-09-26 Thread Alexander Burger
Hi Mark, Sure. Here is the plisp code, such as it is. It is unoptimised, blah-blah. Some sample line from the data files are also included for reference. I haven't tried the code, or analyzed it in detail. But indeed I would also expect that the time should increase linearly. As you

Re: Performance Observation

2014-09-26 Thread Mark Probert
Hi, Alex. I haven't tried the code, or analyzed it in detail. But indeed I would also expect that the time should increase linearly. Right. I have played with the code a little (and used bench) and it seems to point to IO being the issue. Here is the timing info : (bench (main 10)) 0.009

Re: Performance Observation

2014-09-25 Thread Michel Pelletier
Can you provide the code? On Sep 25, 2014 4:19 PM, Mark Probert probe...@gmail.com wrote: Hi. I have been having a lot of fun learning picoLisp. Thank you Alex for this gem! As part of my learning, I converted a simple Ruby program I had into plisp and thought I would share the results.

Re: Performance Observation

2014-09-25 Thread Mark Probert
Hi, Michel. Can you provide the code? Sure. Here is the plisp code, such as it is. It is unoptimised, blah-blah. Some sample line from the data files are also included for reference. .. mark. #!/usr/bin/picolisp /usr/lib/picolisp/lib.l # (load @lib/misc.l @lib/mplib.l) # # read