I don't think this is a difficult question, but I'd like to understand this so I don't continue down a wrong path.
I understand that the difference between using a Record vs. a Class Type variable is that the record type uses local memory vs an object being allocated in dynamic memory. My app uses a lot of memory so I am trying to use it as efficiently as I can.
I know there are a lot of variables involved here, but is there some kind of "basic" record size that is a kind of cutoff for "that should always be an object not a record" sort of thing? Most sources I have found when researching this say something like "use records for small and simple data structures" but I'm not sure what "small" means.
I use a lot of records that are under 2k in size and a few up to 5k in size. I realize this got a little wordy for a simple question. Can anyone give me some guidance here?