Friday, 15 March 2013

smalltalk - What is the most efficient way to join two instances of ByteArray? -



smalltalk - What is the most efficient way to join two instances of ByteArray? -

i want bring together 2 instance of bytearray in squeak, cuis or pharo smalltalk

b := #[10 11 12 13] asorderedcollection. b addall: #[21 22 23 24]. b asbytearray

are there more efficient ways this?

would concatenation better...?

#[10 11 12 13],#[21 22 23 24 ]

smalltalk pharo squeak

No comments:

Post a Comment