Update readme.md

This commit is contained in:
Viktor 2023-03-21 16:38:39 +01:00 committed by GitHub
parent 46f81aca2f
commit 1b9ae7b42d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,13 @@
# Array Library
The array library offers easy allocation of large [memory mapped files](https://en.wikipedia.org/wiki/Memory-mapped_file)
with less performance overhead than the traditional `buffers[i].get(j)`-style constructions
with much less performance overhead than the traditional `buffers[pos/size].get(pos%size)`-style constructions
java often leads to given its suffocating 2 Gb ByteBuffer size limitation.
It accomplishes this by delegating block oerations down to the appropriate page. If the operation
crosses a page boundary, it is not delegated and a bit slower.
It's a very C++-style library that does unidiomatic things with interface default
functions to get diamond inheritance.
The library is written in a fairly unidiomatic way to accomplish diamond inheritance.
## Quick demo:
```java