4 ms·
> Lucene actually uses memory mapped files, byte buffers How do they cast raw memory pointers into Java types? In C, you just cast a void pointer to a pointer
by burntoutfire 5y ago
> Lucene actually uses memory mapped files, byte buffers
How do they cast raw memory pointers into Java types? In C, you just cast a void pointer to a pointer to intended type, and voila - that piece of memory is interpreted as if an object of that particular type resided there. Is anything of this sort possible in Java?