jon <[EMAIL PROTECTED]> writes:

> anybody here knows other way to parse float other than read-from-string or
> atof using alien? my project involves reading thousands of floats from 
> the output
> of about hundred thousand spice simulations. read-from-string is 
> obviously too slow,
> while alien-ing atof gc's a lot. parse-float doesn't parse string 
> floats, ffi i don't know
> how to, and modifying ngspice to give something that can be done by 
> parse-float
> is definitely the last on my list.

You also might try bumping up ext:*bytes-consed-between-gcs* or even
turning off gc's during the read.

HTH,

cbb

-- 
 21:12:22 up 136 days,  6:07,  1 user,  load average: 0.37, 0.30, 0.12

Reply via email to