From 1b9ae7b42df2eaeed3b627aeea83b1580d165965 Mon Sep 17 00:00:00 2001 From: Viktor Date: Tue, 21 Mar 2023 16:38:39 +0100 Subject: [PATCH] Update readme.md --- code/libraries/array/readme.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/libraries/array/readme.md b/code/libraries/array/readme.md index d78f59ae..638a26a4 100644 --- a/code/libraries/array/readme.md +++ b/code/libraries/array/readme.md @@ -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