Praetonus has joined #ponylang
alxs has joined #ponylang
alxs has quit [Client Quit]
Praetonus has quit [Quit: Leaving]
Praetonus has joined #ponylang
Praetonus has quit [Client Quit]
Praetonus has joined #ponylang
Praetonus has quit [Quit: Leaving]
endformationage has quit [Quit: WeeChat 1.9.1]
Summertime2 is now known as Summertime
pzel has joined #ponylang
pzel has quit [Ping timeout: 252 seconds]
pzel has joined #ponylang
pzel has quit [Ping timeout: 272 seconds]
CcxWrk has joined #ponylang
pzel has joined #ponylang
B00gyman is now known as bougyman
jemc has quit [Quit: WeeChat 2.2]
jemc has joined #ponylang
endformationage has joined #ponylang
ExtraCrispy has joined #ponylang
jemc has quit [Ping timeout: 268 seconds]
travis-ci has joined #ponylang
<
travis-ci>
ponylang/ponyc#5448 (master - 87fa189 : Matthias Wahl): The build passed.
travis-ci has left #ponylang [#ponylang]
ExtraCrispy has quit [Remote host closed the connection]
TwoNotes has joined #ponylang
<
TwoNotes>
Is there a canonical way to 'flatten' an Array[ByteSeq] into a single Array[U8]?
<
SeanTAllen>
two loops is what i do
<
SeanTAllen>
we might have added a primitive for it in Wallaroo. not sure.
<
TwoNotes>
So you copy it one byte at a time?
<
TwoNotes>
I make one pass addin gpu the lengths, then allocate an Array[U8] big enough to hold it all, then loop again copying content
<
SeanTAllen>
yeah sorry, i was very unclear
<
SeanTAllen>
get the length of it all
<
SeanTAllen>
then copy it all
<
TwoNotes>
Then how to return the whole thing as a val?
<
SeanTAllen>
new array should be an iso or trn and then you can consume your reference
TwoNotes has left #ponylang [#ponylang]
pzel has quit [Ping timeout: 252 seconds]