Page 1 of 1

Dictionary too big

Posted: July 18th, 2019, 3:53 pm
by AriSilva
I have a very lengthy dictionary (attached).
Record type 40 (D_MORADORES) has a maximum of 20 cases and it is 2862 bytes long.
When opened in DataViewer, it takes forever to show a case (example attached).
In DataViewer, if asked for Frequencies, it takes forever to show the dictionary for choosing the variables.
The question is: Is it because the record is very big? If I split this record in several record types, would it be better?
Or, in other words, what could I do to shorten the processing time?
Best
Ari

Re: Dictionary too big

Posted: July 19th, 2019, 8:01 am
by Gregory Martin
Once you expand the subitems x 20, you have nearly 2500 items in your dictionary, so that's definitely big! The Data Viewer code has to figure out a layout for all of the items. I expect it to be a bit sluggish, but I'm actually surprised at how slow it is. This is something we'll look into speeding up.

You should store your data in the way that makes the most sense for your programs/analysis. We'll try to make this better for CSPro 7.4.