[PATCH] %nil-handling optimization and fixes v1

2009-07-09 Thread Mark H Weaver
Attached are patches to optimize %nil handling, along with some fixes to %nil-handling bugs, as I outlined in my recent posts. Four patches are attached. The first.patch is the most important, and is a prerequisite for the others. In brief it does the following: * Renumbers the IFLAG

Re: array handles and non-local exits

2009-07-09 Thread Andy Wingo
Hi, On Mon 06 Jul 2009 21:30, l...@gnu.org (Ludovic Courtès) writes: Andy Wingo wi...@pobox.com writes: Good question. I suppose you have this case in mind: (define s0 (string foo)) (define s1 (substring/shared s0 0)) (define s2 (substring/shared s1 0)) (par-for-each (lambda

trace examples broken in master

2009-07-09 Thread Julian Graham
Hi Guilers, I went to try out some of the traps / tracing features in the debugger last night, and I ran into some compilation issues with `(ice-9 debugging ice-9-debugger-extensions)'. A patch that resolves them is attached -- I haven't pushed because I'm not sure I fully understand the broader

Re: array handles and non-local exits

2009-07-09 Thread Ludovic Courtès
Hello, Andy Wingo wi...@pobox.com writes: On Mon 06 Jul 2009 21:30, l...@gnu.org (Ludovic Courtès) writes: [...] Yes. OTOH, the doc doesn't say that concurrent array accesses are safe, so array accesses are supposed to be synchronized at the application level, using mutexes, I suppose.