BUG: SystemABI C_LONG and C_LONGLONG are the same

Ty Young youngty1997 at gmail.com
Fri May 15 11:23:22 UTC 2020


On 5/15/20 5:09 AM, Maurizio Cimadamore wrote:
>
> On 15/05/2020 02:27, Ty Young wrote:
>> The issue with using Constable is that often times the information is 
>> the same, so I'm going to end up with not only more garbage but a 
>> really huge struct layout for every struct.
> Huge in what dimension? Source code? Memory footprint? ... ?


GC pressure, since ValueLayout instances are immutable. While it won't 
matter here specifically since it'll be GC'd once and done, I'm worried 
about cases where a ValueLayout(or any other layout type) needs to be 
put together on-the-fly very frequently.


If you had the ability to define a group of Constable objects(which can 
then be made constants), you could then at the very least cut down on 
the amount of garbage.


>
> Maurizio
>


More information about the panama-dev mailing list