reduce memory footprint by lazily intializing the path in Doc

The path in Doc is not optional. This reduces memory consumption,
because we only have to store a long (the offset in the listing file).
This assumes, that only a small percentage of Docs is requested.
This commit is contained in:
2018-05-06 12:58:10 +02:00
parent e3102c01d4
commit 82b8a8a932
11 changed files with 324 additions and 39 deletions

View File

@@ -8,6 +8,7 @@ dependencies {
compile 'org.lucares:primitiveCollections:0.1.20171228131833'
compile 'org.apache.commons:commons-lang3:3.7'
compile 'com.google.guava:guava:24.1-jre'
compile 'org.apache.logging.log4j:log4j-core:2.10.0'
compile 'org.apache.logging.log4j:log4j-slf4j-impl:2.10.0'