This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Google Summer of Code


On Mar 6, 2014, at 6:45 PM, Per Bothner <per@bothner.com> wrote:

> On 03/05/2014 01:45 PM, Helmut Eller wrote:
>> On Wed, Mar 05 2014, Andrea Bernardini wrote:
>> [...]
>>> Thank you, I will start looking at the code. I also found on the
>>> website the documentation about the internals of Kawa, that should be
>>> useful. I will ask here if I have questions.
>> 
>> For the "Optimize switches" project I would also suggest to read
>> Clinger's paper "Rapid case dispatch in Scheme" [1].  The paper
>> describes the kind of optimizations that we, well I, would like to see.
>> The problem is how to integrate the ideas of the paper into Kawa's
>> existing infrastructure.
> 
> In addition, we probably want to look at JDK7's switch-on-strings
> feature.  Ideally, we'd like to special-case the switch if the expression
> is java.lang.String (most likely using the same implementation as Java),
> and also special-case java.lang.CharSequence (somewhat trickier).

Also enums!  Basically anything that's valid for a Java switch.

--
Jamison Hope
The PTR Group
www.theptrgroup.com




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]