Re: CASE

gruntz@oberon.ch
Wed, 28 Aug 1996 09:59:47 +0200

> Hello,
>
> I think it is clear by now that Oberon/F implements the CASE statement
> by a jump table the length of which is proportional to the difference
> between the largest and smallest selector value. They should provide an
> alternative for sparse cases and let the compiler decide which method is
> better.
The implementation of the CASE statement with jump trees instead of
jump tables is on our wish list. Unfortunately this is not a minor change
in the compiler.
- Dominik

====================================================================
Dominik Gruntz Oberon microsystems, Inc.
gruntz@oberon.ch Technoparkstrasse 1
voice ++41-1-445-1751 CH-8005 Zurich
fax ++41-1-445-1752 http://www.oberon.ch/customers/omi
====================================================================