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) {
|
if (s.isNull) {
|
||||||
""
|
""
|
||||||
} else {
|
} else {
|
||||||
val text = s.asText()
|
s.asText().intern()
|
||||||
if (text.length < 100) text.intern()
|
|
||||||
text
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user