-
-
Notifications
You must be signed in to change notification settings - Fork 648
Description
Problem: I have too many elements. Currently my max is set to 13000, and doing that increased my RAM on my app by 250MB.
I have basically a data browser, and it creates the UI from the data, and so there is a lot of UI space. I switched to only using ints to see if it conserved your internals, but it didn't.
I need something where I can:
- clear all the current element buffers, so that I can switch to a new set of data.
- totally de-init clay and restart it again. Currently it doesn't work properly with multiple initializations
I dont care if I lose element tracking at that transition point, because all the UI is changing then anyway.
My current workflow works with 13000, but I can see it going much higher as these are unique elements out of a database, and databases are arbitrarily large.
Obviously "use less" is good advice, but it goes against the design I made, and I didn't think tracking 10k ints would cost me much. I think it would be good to at least be able to turn it off and back on again.