Right now, libdiff.c is a hodgepodge of functions that deal with records seamlessly alongside the the diffing algorithm functions. This should change to provide us with better abstraction. Specifically, in this new file should go:
Functions that deal with classification (e.g., those that deal with record_classifier and classd_record structs)
Functions that build and administrate the memstore struct
Functions that deal with actual records (e.g., diff_record, etc.)
Possibly functions that prepare the metadata and context of records and diff metadata (e.g., prepare_data_ctx())
Right now,
libdiff.c
is a hodgepodge of functions that deal with records seamlessly alongside the the diffing algorithm functions. This should change to provide us with better abstraction. Specifically, in this new file should go:record_classifier
andclassd_record
structs)memstore
structdiff_record
, etc.)prepare_data_ctx()
)