Log In  
Follow
arzp
[ :: Read More :: ]

I have a couple of token count reducer functions:

function poke_map(loopx,loopy,offsetx,offsety)
    poke(0x5f38,loopx)
    poke(0x5f39,loopy)
    poke(0x5f3a,offsetx)
    poke(0x5f3b,offsety)
end

function unpack_split(s)
    return unpack(split(s))
end

As of 0.2.3, the latter one of these, especially when combined with the former, as in

poke_map(unpack_split"4,4,64,32")

has started to cause some weird behaviour in cases where cpu usage is high (around 80% or 90%).

The most obvious symptom is that actions triggered by a simple global timer (i.e. t += 1 in _update60()) start to occur prematurely when the unpack_split() function is called repeatedly in successive _draw() calls.

P#98347 2021-10-07 18:19 ( Edited 2021-10-07 18:25)