timotimo JimmyZ: i'm looking through moarvm issues on github and i've found your issue 150; a script to generate a sphere as a pgm. i don't understand the script, though. it has "until start { ... } { write output data; sleep 1 }" in it, that's quite weird, IMO 07:58
holy crap, Blob.new: @pixels is CRAZY slow 08:00
ah, that's why. 08:02
JimmyZ timotimo: the code is not mine, I saw it in the irc log 08:13
timotimo mhm 08:14
ah, i'm not sure if i can actually get away with making Blob.new: @foo faster using nqp::splice
dalek arVM: 4a35f2c | timotimo++ | src/io/syncfile.c:
handle files where stat falseley reports 0 bytes size
09:03
arnsholt What's the bottleneck, OOC? Getting data out of @pixels, or into the Blob? 09:48
timotimo oof, good question 10:10
the thing is, the original script i was looking at could benefit a whole lot just by using a Buf[int8] instead of a regular array for this 10:11
in that case, there was no need to create a blob in the first place
arnsholt Right, right 11:21
Once again, it turns out that choosing the right data structure is kind of important =)
timotimo jnthn: something has been bugging me: we have utf8-c8 to allow things to roundtrip through Str that potentially contains binary garbage, because filesystems may allow filenames with "anything but slash or null" in them ... but how do we roundtrip given that we do NFC and then NFG in order to create a Str? 17:04
brrt good * 18:14
is jnthn available?
i'm.. having a nasty issue 18:22
conceptually, at least 18:23
in OSR, and deopt, and various other purposes, i may want to put a label directly before of after an instruction 18:24
hmm 18:26
maybe it isn't a problem after all
it just, *sigh*, requires me to rework some of the funky decisions i made in the original jit labelling code 18:28
thereby demonstrating that i'm an idiot 18:29
arnsholt Probably not =) 18:30
Just that compilers are hard
brrt yeah, and people naive :-) 18:51
except that i have a vested interest in people believing that compilers are not, in fact, hard 18:52
and they aren't
you just have to do not the stupid things i did
:-P
anyway, i'd like everyone to believe it is really simple, so they all feel they can help out 18:54
obviously ending with me doing nothing
brrt afk now 18:55