Hi <mailto:[email protected]> dkarachentsev, Suppose I have a String array and array length is 1000. There are many duplicated values and only five distinct values in the array. We store them using blow ways, which one save memory most? #1 List<String> #2 Map<String,BitSet> In client side, #2 will save memory greatly, but how does it in ignite server? If Ignite stores BitSet as Integer array, it seems that #2 will not save so much memory? If there any tips to save memory for above case. Thanks in advance. Thanks Shawn 发件人: shawn.du [mailto:[email protected]] 发送时间: 2017年1月3日 18:37 收件人: [email protected] 抄送: [email protected] 主题: 回复:BinaryObject and String.intern thanks <mailto:[email protected]> dkarachentsev. 在2017年01月03日 18:25, <mailto:[email protected]> dkarachentsev 写道: Actually no, because Ignite internally will store it as a BinaryObject and will send to other nodes in a binary format as well, where all string fields will be unmarshaled without intern().
-- View this message in context: <http://apache-ignite-users.70518.x6.nabble.com/BinaryObject-and-String-intern-tp9826p9834.html> http://apache-ignite-users.70518.x6.nabble.com/BinaryObject-and-String-intern-tp9826p9834.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
