diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2021-01-10 12:40:27 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2021-01-10 12:40:27 +0100 |
commit | 472de63dd01cb24a576d76b46322e25d9b1aa5b7 (patch) | |
tree | d992dc8bb1107f69550578cd3990387f49a2c3ea /container-search/src | |
parent | 2f28c5bf5877a119022f6e6251e1ebd6af257b85 (diff) |
Update abi spec
Diffstat (limited to 'container-search/src')
-rw-r--r-- | container-search/src/main/java/com/yahoo/search/query/profile/CompoundNameChildCache.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/query/profile/CompoundNameChildCache.java b/container-search/src/main/java/com/yahoo/search/query/profile/CompoundNameChildCache.java index bc23db3871e..4163e45ae61 100644 --- a/container-search/src/main/java/com/yahoo/search/query/profile/CompoundNameChildCache.java +++ b/container-search/src/main/java/com/yahoo/search/query/profile/CompoundNameChildCache.java @@ -8,6 +8,8 @@ import java.util.Map; /** * Cache for compound names created through {@link CompoundName#append(String)}. + * Creating new {@link CompoundName}s can be expensive, and since they are immutable, they + * are safe to cache and reuse. Use this if you will create <em>a lot</em> of them, by appending suffixes. * * @author jonmv */ |