how many asserts/retractalls can *you* do per second?
Thomas Charles CONWAY
conway at cs.mu.oz.au
Tue Sep 9 16:00:24 AEST 1997
You may have noticed that the sicstus version of the compiler was
running a little slowly. The reason seems to be that Fergus's
recent change to io.nu.nl to make the io__state a "global" means
that for each char that gets read, sicstus does an assert and a
retract. Same for each putback_char. That was after I fixed the
bug in which it forgot to assert an initial value of io__save_putback.
This clearly needs a bit of a rethink. Ideas anyone?
 It took over 5 minutes to read mercury_builtin.int, and so far it's
been about 10 minutes reading io.int. How patient are you?
Thomas Conway conway at cs.mu.oz.au
AD DEUM ET VINUM Every sword has two edges.
More information about the developers