Questions tagged [chronicle-values]
3 questions
3
votes
1 answer
Chronicle Values: What's the point if it still needs to allocate an instance on heap?
I'm having trouble understanding how to use this library correctly, because it's creating garbage per allocation and that seems to be the intention? Is the library intended to be used with these characteristics? Or am I missing something, and is…

Jire
- 9,680
- 14
- 52
- 87
1
vote
1 answer
Chronicle Map - values of fields are swapping places
I've created Value interface:
public interface SomeVal {
void setLevel1Description(@MaxUtf8Length(100) CharSequence level1Description);
CharSequence getLevel1Description();
void setLevel2Description(@MaxUtf8Length(100) CharSequence…

Inzo
- 180
- 9
0
votes
1 answer
Chronicle Values: getter that returns Array instead of individual items
So, I have a Value Interface with these array field getter and setter methods, which works
interface Instrument: Marshallable {
...
fun setBidAt(index: Int, entry: OrderBookEntry)
@Array(length = 10)
fun getBidAt(index: Int):…

David Teh
- 61
- 5