Re: [External] : Re: Proposal: java.lang.runtime.Carrier

2022-03-07 Thread forax
From: "Brian Goetz" To: "Remi Forax" Cc: "Jim Laskey" , "amber-spec-experts" Sent: Monday, March 7, 2022 4:08:00 PM Subject: Re: [External] : Re: Proposal: java.lang.runtime.Carrier BQ_BEGIN BQ_BEGIN Adding more information, we want the carrier to be a primitive type (to be ab

Re: [External] : Re: Proposal: java.lang.runtime.Carrier

2022-03-07 Thread Brian Goetz
Adding more information, we want the carrier to be a primitive type (to be able to optimize it away), which means that we can not use null to represent "do_not_match", we have to have a flag inside the carrier for that. The alternate approach is to use a .ref class for partial patterns (usi

Re: [External] : Re: Proposal: java.lang.runtime.Carrier

2022-03-07 Thread Remi Forax
> From: "Remi Forax" > To: "Brian Goetz" > Cc: "Jim Laskey" , "amber-spec-experts" > > Sent: Saturday, March 5, 2022 11:54:14 PM > Subject: Re: [External] : Re: Proposal: java.lang.runtime.Carrier >> From: "Brian Goetz" >> To: "Remi Forax" >> Cc: "Jim Laskey" , "amber-spec-experts" >> >> Sen