develooper Front page | perl.perl6.internals | Postings from October 2005

Re: Tcl - compiling

Thread Previous | Thread Next
Leopold Toetsch
October 4, 2005 02:10
Re: Tcl - compiling
Message ID:

On Oct 4, 2005, at 3:52, Will Coleda wrote:

> On Oct 3, 2005, at 6:34 PM, Leopold Toetsch wrote:

>> I don't see the point. Your compiler can emit, e.g.:
>>   "while"(test, body)

> That's actually how things work right now (very similar to the 
> interpreter from previous versions).

Not quite:

$ find lib -name '*.pir' | xargs grep 'sub.*while'
lib/commands/while.pir:.sub "&while"

You obviously have to mangle the subname first, before you can call it.

> Is the argument that inlining will not (even theoretically) provide a 
> speed boost?

No, not at all, that's fine. I just wanted to mention that there are 
still a lot of code pieces left over from the interpreter.

> Regards.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About