Reverts interning of all tag sizes due to significant gains in memory usage from large duplicated tags, like r tags with urls
This commit is contained in:
+1
-3
@@ -30,9 +30,7 @@ class TagArrayManualDeserializer {
|
||||
if (s.isNull) {
|
||||
""
|
||||
} else {
|
||||
val text = s.asText()
|
||||
if (text.length < 100) text.intern()
|
||||
text
|
||||
s.asText().intern()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user