help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] docstring patches for RB*, STCompiler optimizing?


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] docstring patches for RB*, STCompiler optimizing?
Date: Mon, 04 Sep 2006 07:35:17 +0200
User-agent: Thunderbird 1.5.0.5 (Macintosh/20060719)

Stephen Compall wrote:
On the compiler/ code:

Would you accept patches (no commitments here, but) that add
docstrings to the public interface of the Refactory parsing and
scanning classes?

Does STCompiler currently perform the optimizations performed by the
primitive compiler accessible by Behavior>>#compileString:,
Stream>>#fileIn etc.?  I cannot find any code that would suggest it
would, but I am perhaps overlooking something.
If you refer to peephole optimizations and combining multiple bytecodes in one, that 's done automatically when you create a CompiledMethod. Methods such as #compileWhileLoop: take care of optimizing #whileTrue: etc. The only missing optimization is the inlined version of #to:do: and #to:by:do:.

Paolo





reply via email to

[Prev in Thread] Current Thread [Next in Thread]