Amongst most of the code samples shown so far implementing ArrayBuilder, none of them have been particularly performant; lots of creating ad hoc arrays that then get combined with other arrays. If performance is the primary concern, it has not been evident from the conversation thus far. As I previously mentioned, a SequenceBuilder is actually more performant than most of the ArrayBuilder implementations shown here so far. If you’re after more performance, than I’ll yield any further arguments; I don’t find the need particularly compelling personally.
3 Likes