* psppire-dict.c (psppire_dict_dump): Don't use
authorBen Pfaff <blp@gnu.org>
Mon, 13 Aug 2007 03:44:45 +0000 (03:44 +0000)
committerBen Pfaff <blp@gnu.org>
Mon, 13 Aug 2007 03:44:45 +0000 (03:44 +0000)
commit6e352378b703f57313fdd0f628b99b19ff25d055
tree22917b71c88b67b8de89a0f953506978642c2fcd
parent2a802b79f217dfa51749c1f2b594c061b5d85120
* psppire-dict.c (psppire_dict_dump): Don't use
dict_get_compacted_dict_index_to_case_index, as that function has
been deleted.

* flip.c: Drop use of dict_get_compacted_dict_index_to_case_index
and just use the ordinary case indexes.  There seemed to be no
reason for the former method.

* get.c (case_map_get_value_cnt): New function.

* dictionary.c (dict_compact_values): Don't delete scratch
variables as well as compacting case indexes.  Update all callers.
(dict_get_compacted_value_cnt): Rename dict_count_values and
change interface.  Update all callers.
(dict_get_compacted_value_cnt): Remove.
(dict_compacting_would_shrink): Remove.
(dict_compacting_would_change): Remove.
(dict_make_compactor): Add new parameter.  Update all callers.

* procedure.c (proc_casereader_read): Use casewriter_get_value_cnt
instead of dict_count_values, changing an O(N) operation into
O(1).
src/data/ChangeLog
src/data/dictionary.c
src/data/dictionary.h
src/data/procedure.c
src/data/scratch-writer.c
src/language/data-io/get.c
src/language/stats/ChangeLog
src/language/stats/flip.c
src/ui/gui/ChangeLog
src/ui/gui/psppire-dict.c