openHFT Koloboke collections

398 views
Skip to first unread message

Janny

unread,
Feb 8, 2015, 1:38:11 AM2/8/15
to mechanica...@googlegroups.com
I can't get how to create a list of, say, longs with Koloboke. It seems that Koloboke only supports Sets (i.e. containers of unique elements). Does anyone know the answer? Thanks.

Roman Leventov

unread,
Feb 8, 2015, 5:35:14 AM2/8/15
to mechanica...@googlegroups.com

Not sure this mailing list is proper place for such questions. Indeed there are no lists, queues, multimaps or anything else, except hash sets and hash maps.

08 Фев 2015 г. 13:38 пользователь "Janny" <winnie...@gmail.com> написал:
I can't get how to create a list of, say, longs with Koloboke. It seems that Koloboke only supports Sets (i.e. containers of unique elements). Does anyone know the answer? Thanks.

--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Martin Thompson

unread,
Feb 8, 2015, 5:51:08 AM2/8/15
to mechanica...@googlegroups.com
If discussing implementations that benefit from mechanical sympathy which people can learn from then knock yourselves out :-)

For example, I've a more formal background in algorithm theory and my first maps used prime numbers to reduce clustering but the cost of IDIV instructions (for quotient or remainder) was so much greater than the benefits that I now lean towards powers of 2 in designs these days. Big-O analysis of algorithms can often be more influenced by constants that come from the machine implementations and it is good to make people aware of such facts. For larger data set, i.e. 2GB+, then locality of reference is often a bigger factor than which divide instruction approach is taken.

However we should always caveat that there is no one size fits all. What we do needs to be based on experimental evidence and analysis to understand the model of what is going on. Scientific Method rather than Scientific Management as our agile friends who hate Taylorism would say :-)

Janny

unread,
Feb 8, 2015, 7:32:22 AM2/8/15
to mechanica...@googlegroups.com
Thanks, Roman. Which HFT collection framework you may recommend to store list of primitive longs?


On Sunday, February 8, 2015 at 6:35:14 PM UTC+8, Roman Leventov wrote:

Not sure this mailing list is proper place for such questions. Indeed there are no lists, queues, multimaps or anything else, except hash sets and hash maps.

08 Фев 2015 г. 13:38 пользователь "Janny" <winnie...@gmail.com> написал:
I can't get how to create a list of, say, longs with Koloboke. It seems that Koloboke only supports Sets (i.e. containers of unique elements). Does anyone know the answer? Thanks.

--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsub...@googlegroups.com.

Roman Leventov

unread,
Feb 8, 2015, 9:04:03 AM2/8/15
to mechanica...@googlegroups.com

To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-symp...@googlegroups.com.

Janny

unread,
Feb 17, 2015, 8:22:32 AM2/17/15
to mechanica...@googlegroups.com
Hi Roman, 

Koloboke is quite nice, but you may like to update your collections so people like me we won't need to use two different collections in our project.

On Sunday, February 8, 2015 at 10:04:03 PM UTC+8, Roman Leventov wrote:
On 8 February 2015 at 19:32, Janny <winnie...@gmail.com> wrote:
Thanks, Roman. Which HFT collection framework you may recommend to store list of primitive longs?

On Sunday, February 8, 2015 at 6:35:14 PM UTC+8, Roman Leventov wrote:

Not sure this mailing list is proper place for such questions. Indeed there are no lists, queues, multimaps or anything else, except hash sets and hash maps.

08 Фев 2015 г. 13:38 пользователь "Janny" <winnie...@gmail.com> написал:
I can't get how to create a list of, say, longs with Koloboke. It seems that Koloboke only supports Sets (i.e. containers of unique elements). Does anyone know the answer? Thanks.

--
You received this message because you are subscribed to the Google Groups "mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mechanical-sympathy+unsubscribe...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages