[srfi-1] lset-difference too slow?

"Marco Bakera" <[email protected]>
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
Hey there,

I experienced some problems running the following code.

(require-extension (srfi 1))

(let ((test (time (lset-difference eq?
                                   (iota 10000)
                                   '(-1)))))
  (cdr test))

First, it seems as if srfi-1 seems not to be loaded if followed by
some space character as in
(require-extension (srfi 1 ))

On the other hand the implementation seems to be really slow as I got
results taking round about 300ms while the same code ran in S48 in
nearly no time. Is it possible there is a performance leak in there?
Or is this the price I have to pay intepreting scheme in java?


Thanks and greetings,
Marco.


-- 
,----[ /X\arco -- www.bakera.de ]----
|         (Y F) = (F (Y F))
`----[ www.bulb-publications.de ]----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.