Comment

Comment by amluto

> Making a header with the city string mapped to an integer would dramatically shrink the file and speed up parsing.

Indeed, Parquet will do this for you if you let it.

I also wonder how good Java is at optimizing closure creation in a loop, as in:

    k -> new ResultObserver()
The vast majority of those closures are created and never called. C++ might optimize this well if calling a template but has basically no chance if the parameter is an std::function. Java probably has more ability to optimize it, but I don’t know whether it actually does so.
parent amluto 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton