[L2Ork-dev] Curious slowdown on a GOP array interaction

Ivica Ico Bukvic ico at vt.edu
Wed Jun 17 11:42:22 EDT 2020


Try the attached patch and try moving the points inside the point-inv 
array. It works a lot slower and has a much higher cpu footprint than 
any other array in the patch. This is on 0.46.2. Might be worth trying 
it on 0.14.7 or 0.20 for comparison.

Another couple of problems (as noted in issues I submitted last night):

  * Properties is sometimes available in the popup and sometimes isn't
    inside the subpatch. We need to either make it work consistently or
    not. I have no idea why this is happening however.
  * Clicking on objects while the subpatch is open is often impossible.
    glist_xtopixels and glist_ytopixels inside g_graph.c often shows
    that xval (which is I belive cursor position) shows some super large
    number (I think the largest either positive or negative float
    value), suggesting something is getting messed up inside backend
    somewhere along the way.
  * We may consider simply enabling jump-on-click at all times, since
    other one is a pain to use and is not really useful.

Best,

Ico

-- 
Ivica Ico Bukvic, D.M.A.
Director, Creativity + Innovation
Institute for Creativity, Arts, and Technology

Virginia Tech
Creative Technologies in Music
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
ico at vt.edu

www.icat.vt.edu
www.performingarts.vt.edu
l2ork.icat.vt.edu
ico.bukvic.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20200617/f23aa4bd/attachment.html>
-------------- next part --------------
#N canvas 496 320 912 335 10;
#N canvas 57 633 450 300 blahasdasdasda 0;
#X obj 114 54 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 246 103 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 218 170 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 260 176 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 276 133 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 286 143 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X floatatom 300 204 5 0 0 0 - - -, f 5;
#N canvas 0 0 450 300 shoo 0;
#X floatatom 104 109 5 0 0 0 - - -, f 5;
#X coords 0 -1 1 1 85 60 2 100 100;
#X restore 278 230 pd shoo;
#X text 211 70 comment;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X coords 0 -1 1 1 108 92 1 100 100;
#X restore 129 80 pd blahasdasdasda;
#X obj 60 136 print;
#X obj 60 136 print;
#N canvas 732 338 289 300 (subpatch) 0;
#X array array1 100 float 23 black #ff0000;
#A 0 0.0999998 0.0999998 0.0999998 0.0999998 0.0999998 0.0999998 0.0999998
0.0999998 0.0999998 0.0999998 0.0999998 0.0999998 0.0999998 0.0999998
0.0999998 0.0999998 0.0999998 0.0917141 0.0834284 0.0751427 0.066857
0.0585713 0.0502856 0.102 0.182 0.262 0.362 0.622 0.682 0.742001 0.882001
0.942001 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 -0.592286 -0.609429 -0.626572
-0.643715 -0.660858 -0.678001 -0.698001 -0.718001 -0.738001 -0.758001
-0.778001 -0.798001 -0.818001 -0.838001 -0.798001 -0.786001 -0.774001
-0.762001 -0.750001 -0.738001 -0.728001 -0.718001 -0.708001 -0.698001
-0.688001 -0.678001 -0.672287 -0.638001 -0.618001 -0.618001 -0.618001
-0.618001 -0.618001 -0.618001 -0.598001 -0.598001 -0.598001 -0.598001
-0.591334 -0.584668 -0.578001 -0.575501 -0.573001 -0.570501 -0.568001
-0.565501 -0.563001 -0.560501 -0.558001 -0.558001 -0.558001;
#X coords 0 1 100 -1 100 100 1;
#X restore 732 52 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array bez 5 float 5 black #ff0000;
#A 0 1 1 -1 -1 0.0620758;
#X coords 0 1 4 -1 200 145 1;
#X restore 255 279 graph;
#N canvas 619 243 492 335 (subpatch) 0;
#X array point 5 float 3 black #ff0000;
#A 0 0.299992 0.371421 0.385707 0.185705 0.0999891;
#X coords 0 1 5 -1 160 109 1;
#X restore 475 279 graph;
#N canvas 790 389 323 197 (subpatch) 0;
#X array plot 5 float 1 black #ff0000;
#A 0 1 -1 -1 1 1;
#X coords 0 -1 4 1 200 140 1;
#X restore 475 129 graph;
#X obj 72 328 s~;
#X obj 33 159 unpack 0 0 0;
#X obj 65 240 r~;
#X text 264 233 testing...;
#X obj 808 426 cnv 15 100 60 empty empty empty 20 12 0 14 -202265 -66577
0;
#X floatatom 56 96 5 0 0 0 - - -, f 5;
#N canvas 732 338 439 300 (subpatch) 0;
#X array array2 5 float 23 black #ff0000;
#A 0 1 1 1 1 1;
#X coords 0 1 5 -1 100 100 1;
#X restore 305 66 graph;
#N canvas 727 338 439 300 (subpatch) 0;
#X array array3 1 float 23 black #ff0000;
#A 0 0.579997;
#X coords 0 1 1 -1 100 100 1;
#X restore 340 172 graph;
#N canvas 619 243 492 335 (subpatch) 0;
#X array point-inv 5 float 3 black #ff0000;
#A 0 0 -0.42102 -0.149588 -0.0781587 0.0789861;
#X coords 0 -1 5 1 159 120 1;
#X restore 679 279 graph;
#X connect 12 0 2 0;


More information about the L2Ork-dev mailing list