Help My LocalDate Isn't Flattened
horstmann.com·11h·
Discuss: Hacker News
Flag this post

.jpg

Help! My LocalDate Isn’t Flattened

Project Valhalla promises to flatten objects in the Java virtual machine. Of course, it is much better to have an array of fifty million values than fifty million object references, each with a header and the value. Just before giving a presentation about that at the JFall conference, I saw an article at inside.java that promised such flattening with an array of LocalDate objects. But I could not reproduce it. The culprit? Serialization, of course. Read on for the gory details!

Project Valhalla

Eleven years in the making, Project Valhalla promises: “Codes like a class, runs like an int.” And it is really getting…

Similar Posts

Loading similar posts...