2008 March 19th Wednesday (三月 十九日 水曜日)

来源:互联网 发布:跳过广告的软件 编辑:程序博客网 时间:2024/04/26 12:38
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.

原创粉丝点击