At svn 1365 I think (not terribly current while slime sorts itself
out).

If I feed the following script to clojure-main:
  (defn trivial-task [] nil)
  (pcalls trivial-task trivial-task)
It takes a full minute and change to execute:
  $ time java -server -cp ../clojure/clojure.jar clojure.main
pcalltest.clj
  real  1m10.082s
  user  0m9.489s
  sys   0m0.400s
on a really slow machine.

But this script:
  (defn trivial-task [] nil)
  (pcalls trivial-task trivial-task)
  (System/exit 0)
takes exactly one minute less.
  $ time java -server -cp ../clojure/clojure.jar clojure.main
pcalltest.clj
  real  0m10.394s
  user  0m9.393s
  sys   0m0.376s

So I presume that pcalls is leaving some future-detritus that requires
60 seconds to timeout.  What should I be doing to clean up after
pcalls?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to