您好,欢迎来到化拓教育网。
搜索
您的当前位置:首页Method and apparatus for reducing memory usage by

Method and apparatus for reducing memory usage by

来源:化拓教育网
专利内容由知识产权出版社提供

专利名称:Method and apparatus for reducing memory

usage by encoding two values in a singlefield

发明人:Mads Sig Ager,Lars Bak,Kasper Verdich Lund申请号:US12120085申请日:20080513公开号:US07592930B1公开日:20090922

专利附图:

摘要:One embodiment of the present invention provides a system that reducesmemory usage by encoding two values in a single field. During operation, the system

receives a string. After determining the length of the string, the system allocates a firstset of bits in the single field to store the length of the string, where the size of this firstset of bits depends upon the determined length of the string. The system then storesthe length of the string in the first set of bits. Subsequently, the system computes a hashcode for the string. The system then allocates a second set of bits from the remainingunallocated bits in the single field to store this hash code, and stores the hash code inthis second set of bits. Thereafter, the system can access the string length value from thesingle field and can also use the entire single field as a hash value for the string.

申请人:Mads Sig Ager,Lars Bak,Kasper Verdich Lund

地址:Laasby DK,Tranbjerg J. DK,Hoejbjerg DK

国籍:DK,DK,DK

代理机构:Park, Vaughan & Fleming LLP

更多信息请下载全文后查看

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- huatuo9.cn 版权所有 赣ICP备2023008801号-1

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务