> The Tcl 8.4 version was a bit faster, but it also crashed a couple times.
> I didn't investigate further as to why. The Tcl 8.4 version was using the
> default generic/tclAlloc.c shipped _with Tcl_ (not the AOLserver one).
>
> Tcl 8.4 was _not_ compiled with --enable-threads (a configure flag that
> apparently doesn't exist on Tcl 8.3.2). I'd love to hear comments from
> folks more knowledgeable (Jim, Kriston, Jeff Hobbs, Zoran, etc.)

I assume this was 8.4b1, or the most recent CVS?  You have to compile
that with --enable-threads, and then you will get the new threaded
allocator which is based off the one from AOL.  8.3.2 should also have
had --enable-threads ... but perhaps if that was the special AOL
version, that aspect was hard-coded on because it was required.  That
might also indicate why 8.4 would crash where 8.3 doesn't, because IIUC,
AOLserver *requires* a threaded Tcl.  You can find out by starting Tcl
and doing 'parray tcl_platform'.  If the 'thread' key shows up == 1,
then it is threaded.

I would make sure that all that is kosher and no crashes are occuring
before analyzing the tests (which seem so close together as to be
statistically insignificant).

Jeff

Reply via email to