mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
Update readme.md
This commit is contained in:
parent
46f81aca2f
commit
1b9ae7b42d
@ -1,14 +1,13 @@
|
|||||||
# Array Library
|
# Array Library
|
||||||
|
|
||||||
The array library offers easy allocation of large [memory mapped files](https://en.wikipedia.org/wiki/Memory-mapped_file)
|
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.
|
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
|
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.
|
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
|
The library is written in a fairly unidiomatic way to accomplish diamond inheritance.
|
||||||
functions to get diamond inheritance.
|
|
||||||
|
|
||||||
## Quick demo:
|
## Quick demo:
|
||||||
```java
|
```java
|
||||||
|
Loading…
Reference in New Issue
Block a user