indy-based string-switch proposal

John Rose john.r.rose at oracle.com
Tue Nov 5 21:48:04 UTC 2019


On Nov 5, 2019, at 1:44 PM, Brian Goetz <brian.goetz at oracle.com> wrote:
> 
> I suspect that having freedom over the ids is a loss overall, which is why we went with the implicit ids in the prototype version.  Of course, if you can demonstrate a clear advantage in actually common cases, that would be interesting.  

That sounds right to me too.  You need a lot of machinery to make them explicit,
and it can only help when there are lots of duplicates.  Probably, if we *need* to
deal with duplicates, there’s a “softer” way to do it, such as using implicit IDs and
grouping the duplicate-branching cases with some other signal, such as an “I’m
with him” optional flag.



More information about the amber-dev mailing list