Function types versus arrays
Rémi Forax
forax at univ-mlv.fr
Mon Feb 8 17:16:20 PST 2010
Le 09/02/2010 01:42, Lawrence Kesteloot a écrit :
> On Mon, Feb 8, 2010 at 4:05 PM, Rémi Forax<forax at univ-mlv.fr> wrote:
>
>> BTW, I see two use cases for array of function types,
>> the first one is if someone want to simulate something like a vtable.
>> The second one is if you want an array of getter or an array of setters.
>>
> Why wouldn't ArrayList work for these?
>
> Lawrence
>
It's just less efficient.
Rémi
More information about the lambda-dev
mailing list