artio icon indicating copy to clipboard operation
artio copied to clipboard

Linked list in repeating group encoder/decoder

Open vad0 opened this issue 6 years ago • 0 comments

I am new to artio, but i see a strange pattern: repeating groups have a bunch of encoders/decoders linked with each other. Why is it implemented this way? Would it be more efficient to use an array based structure? This is how it looks now:

public MDEntriesGroupEncoder next()
    {
        if (next == null)
        {
            next = new MDEntriesGroupEncoder();
        }
        return next;
    }

vad0 avatar Aug 06 '18 17:08 vad0