Error Message: value -> inline
Peter
graphhopper at gmx.de
Mon Jul 8 08:49:45 UTC 2019
Hello Remi,
Thanks, also for the link!
The code for your ArrayList looks very crazy :) ... what is the reason
for that?
And Java's ArrayList is not as good because it has Object[] instead of
E[]? Or would be more changes necessary to make it memory efficient for
inline types?
Regards
Peter
On 07.07.19 11:38, Remi Forax wrote:
> ----- Mail original -----
>> De: "Peter" <graphhopper at gmx.de>
>> À: "valhalla-dev" <valhalla-dev at openjdk.java.net>
>> Envoyé: Dimanche 7 Juillet 2019 01:40:51
>> Objet: Error Message: value -> inline
>> Hi,
> Hi
>
>> I'm currently playing with the prototype of Project Valhalla - thanks
>> for your huge work!
>>
>> I've studied the tests but is more documentation or better examples what
>> is currently possible? E.g. I think that primitive lists like List<int>
>> is not yet possible - is this right?
> yes,
> no specialized generics yet !
>
> you have more examples here:
> https://github.com/forax/valuetype-lworld
>
>> Now I caught an error message that needs a small change. With:
>>
>> inline class Point { double lat; double lon; }
>> inline class Point3d { double ele; inline Point point; }
>>
>> I get:
>>
>> Point3d.java:[5,25] modifier value not allowed here
>>
>> instead of:
>>
>> Point3d.java:[5,25] modifier inline not allowed here
>>
>> Regards
>> Peter
> cheers,
> Rémi
--
GraphHopper.com - fast and flexible route planning
More information about the valhalla-dev
mailing list