Dictionary too big

Other discussions about CSPro
Forum rules
New release: CSPro 8.0
Post Reply
AriSilva
Posts: 591
Joined: July 22nd, 2016, 3:55 pm

Dictionary too big

Post 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
Attachments
10_Entrevista.rar
(106.72 KiB) Downloaded 199 times
Best
Ari
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Dictionary too big

Post 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.
Post Reply