首页> 外国专利> Method and apparatus for finding longest and closest matching string in history buffer prior to current string

Method and apparatus for finding longest and closest matching string in history buffer prior to current string

机译:在当前字符串之前在历史缓冲区中找到最长和最接近的匹配字符串的方法和装置

摘要

The invention provides a method and apparatus for finding a longest and closest matching string in a history buffer prior to a current string. A search algorithm in accordance with the invention first tries to find the longest matching old string (MOS) in the history buffer as its major task, and in a case where two MOS's are found to have the same longest matching length, the search algorithm tries to select the MOS closest to the current position as its minor task. Linked lists are constructed as searching progresses to speed the search process. The linked lists define a fast-path array which points to all locations within the history buffer containing a specified code sequence. Pointers to locations outside the history buffer are optionally removed and their space returned to memory free space.
机译:本发明提供了一种方法和设备,用于在当前字符串之前在历史缓冲器中找到最长和最接近的匹配字符串。根据本发明的搜索算法首先尝试在历史缓冲器中找到最长匹配的旧字符串(MOS)作为其主要任务,并且在发现两个MOS具有相同的最长匹配长度的情况下,搜索算法尝试选择最接近当前位置的MOS作为其次要任务。链接列表随搜索进度而构建,以加快搜索过程。链表定义了一个快速路径数组,该数组指向历史缓冲区中包含指定代码序列的所有位置。可以删除指向历史缓冲区之外的位置的指针,并将它们的空间返回到内存可用空间。

著录项

  • 公开/公告号US5577248A

    专利类型

  • 公开/公告日1996-11-19

    原文格式PDF

  • 申请/专利权人 SALIENT SOFTWARE INC.;

    申请/专利号US19950468923

  • 发明设计人 LLOYD L. CHAMBERS IV;

    申请日1995-06-06

  • 分类号G06F17/30;

  • 国家 US

  • 入库时间 2022-08-22 03:11:07

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号