https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • b

    bright-gpu-74537

    09/05/2022, 1:14 PM
    So a virtual listview (or tableview) is one where it only renders as many items as is visible (well, actually visible + 1 for smooth scrolling) this means you can have data sets in the millions without creating an item renderer for each one... the downside is that, because of the way it works, items will have a fixed height
  • c

    clever-yak-82528

    09/05/2022, 1:14 PM
    ah i see
  • b

    bright-gpu-74537

    09/05/2022, 1:15 PM
    what data are you including the project out of interest?
  • c

    clever-yak-82528

    09/05/2022, 1:15 PM
    translation data
  • b

    bright-gpu-74537

    09/05/2022, 1:15 PM
    whats the format / size?
  • c

    clever-yak-82528

    09/05/2022, 1:15 PM
    not for the project
  • b

    bright-gpu-74537

    09/05/2022, 1:15 PM
    oh, by mistake you mean?
  • c

    clever-yak-82528

    09/05/2022, 1:15 PM
    no
  • c

    clever-yak-82528

    09/05/2022, 1:15 PM
    the project is a viewer for the translation data
  • c

    clever-yak-82528

    09/05/2022, 1:16 PM
    it's an xml file that i parse at compile time (mostly for fun) into an array
  • b

    bright-gpu-74537

    09/05/2022, 1:16 PM
    what sort of size? How many elements?
  • c

    clever-yak-82528

    09/05/2022, 1:19 PM
    9970 elements, each of which is a typedet with a few strings in it
  • b

    bright-gpu-74537

    09/05/2022, 1:20 PM
    interesting, i wonder why hxcpp, or well, your compiler really isnt happy with that, i mean, 10k elements isnt that many
  • b

    bright-gpu-74537

    09/05/2022, 1:20 PM
    its alot, to be sure, but i thought you were going to say something like 400k
  • c

    clever-yak-82528

    09/05/2022, 1:20 PM
    the c++ file is 80000 lines
  • c

    clever-yak-82528

    09/05/2022, 1:22 PM
    uhhh how do you make text wrap in a label
  • b

    bright-gpu-74537

    09/05/2022, 1:22 PM
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/d2c4bb60-e558-4dc6-a0ba-47611d45bc86/c1002-compiler-is-out-of-heap-space-in-pass-2?forum=vcgeneral
  • b

    bright-gpu-74537

    09/05/2022, 1:22 PM
    give it a width (% or px)
  • c

    clever-yak-82528

    09/05/2022, 1:23 PM
    doh
  • c

    clever-yak-82528

    09/05/2022, 1:41 PM
    ah yes
  • c

    clever-yak-82528

    09/05/2022, 3:36 PM
    i think it might actually genuinely be running out of memory
  • c

    clever-yak-82528

    09/05/2022, 3:36 PM
    i am also compiling qt in the background and i have like 200 firefox tabs open
  • b

    best-agent-85158

    09/05/2022, 3:43 PM
    I don't think Firefox actually contributes too much lol
  • b

    best-agent-85158

    09/05/2022, 3:43 PM
    Chrome on 30 tabs was slower then Firefox with ~100 tabs on my shitty laptop
  • b

    best-agent-85158

    09/05/2022, 3:43 PM
    Also didn't take much memory
  • c

    clever-yak-82528

    09/05/2022, 3:48 PM
    firefox is a hell of a lot better than chrome but that's still almost 6gb
  • f

    future-iron-61487

    09/06/2022, 7:18 AM
    oh man I've done that before
  • f

    future-iron-61487

    09/06/2022, 7:19 AM
    I probably had my IDE, Firefox, and Photoshop open all at once and suddenly random elements in firefox would render as all black rectangles
  • f

    future-iron-61487

    09/06/2022, 7:19 AM
    later the tabs started dying
  • f

    future-iron-61487

    09/06/2022, 7:20 AM
    both my ram and my scratch disk was full and the whole system went
    hurkk
1...124412451246...1687Latest