Continuations and COWed stacks (was: search_lex (again)...)

2003-08-20 Thread Leopold Toetsch
Jos Visser <[EMAIL PROTECTED]> wrote: > My current code generator generates code to trap the LEX_NOT_FOUND > exception. However, the "set_eh" instruction is *terribly* slow... After having a closer look at this, I can describe what's happening: - the exception handler is a continuation - these h

Re: search_lex (again)...

2003-08-20 Thread Leopold Toetsch
Jos Visser <[EMAIL PROTECTED]> wrote: > Hi all, > In my case my "problem" (challenge) is that I want to generate some > parrot code that is capable of searching the lexical pads for the > existence of a lexical. In my particular case this code executes > frequently. I would implement the proposed

Re: search_lex (again)...

2003-08-19 Thread Leopold Toetsch
Jos Visser wrote: My current code generator generates code to trap the LEX_NOT_FOUND exception. However, the "set_eh" instruction is *terribly* slow... All my answers to that (and other threads) seem to be missing currently. Anyway I have put in an intermediate hack to speed this up a bit. A real

search_lex (again)...

2003-08-19 Thread Jos Visser
Hi all, I am returning to the topic of search_lex. I ask to be excused because this is another "I need this op" mail, but I think the feature I request here has merit for other languages as well... In my case my "problem" (challenge) is that I want to generate some parrot code that is capable of