Yesterday I finished the codes to compare two records. Firstly, compare the pntKCode of two records. Because A's record is rules, when
a B's record has not a pntKCode, a register value is return to tell sequent function to register the A's record into B host.
When an A's record has not its pntKCode, and its peer has that, the peer's record must be removed.
Third sitatuation is that A and B both have respective pntKCode, but theirs are not same. We must compare the two record deeply in according
to a logic of record types.
To reuse some code and reduce the complexity of sources, I created two function in order to compare the start part of a record and the end
part of a record. When comparing the newest records, only to compare the end part of records, ignore of the start part of records; specified
record, we must compare the whole records.
a B's record has not a pntKCode, a register value is return to tell sequent function to register the A's record into B host.
When an A's record has not its pntKCode, and its peer has that, the peer's record must be removed.
Third sitatuation is that A and B both have respective pntKCode, but theirs are not same. We must compare the two record deeply in according
to a logic of record types.
To reuse some code and reduce the complexity of sources, I created two function in order to compare the start part of a record and the end
part of a record. When comparing the newest records, only to compare the end part of records, ignore of the start part of records; specified
record, we must compare the whole records.