Benefits of continuation?

Courageous jkraska1 at san.rr.com
Fri Nov 3 19:41:17 CET 2000


>I think this remark above is very true. Context switches was the very
>first brain wave I had. Makes me wonder whether continuation actual ever
>will be used directly. Indirect usage ("under-water", hidden, etc.)
>seems more likely.

Right. You have to understand that they are a very useful
mechanism upon which you can build alternate flow-control
constructs. I personally use them for context-switching in a
simulation I wrote. They are, ah.... VERY VERY FAST.

An attempt to do the same thing in Java would cause the
JVM to die a horrible death with 1/10th the thread-load.



C//







More information about the Python-list mailing list