posted 19 years ago
In my assignment (URLyBird), I have to mark a two byte deletion flag to determine if a record has been deleted or not. Now, a newly created record could take the same space in the data file as a deleted record.
Now my question is, do I need to implement anything to actually "clean" up the file at some time? Or rather, perhaps I should phrase it as "should I implement" something that cleans up the file (as this does not seem to be a MUST) so if no created record has taken the place of this record, to remove that record entirely from the datafile?
After thinking about it for a bit, I thought that I wouldn't bother as this was not a MUST in my assignment, and creation of records is not something that the client would be able to do anyway (again, not a MUST). Any opinions on the matter?