Character string storage method based on Hash
A character string and character string conversion technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of art personnel and planners, unfavorable rapid positioning of resources, and large client capacity, etc., to achieve Reduce memory usage, improve execution efficiency, and improve memory usage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment Construction
[0027] A Hash-based string storage method, the steps are as follows:
[0028] Step 1: Create a string hash table. Select the appropriate HASH function;
[0029] Create a hash function as int appstrhash(char*); convert a string to an Int value, the primary key of the HASH table is the key value of Int, and the corresponding container is the character value of each string;
[0030] Step 2) When loading resources, hash the resource name;
[0031] Split the HASH of the resource name. If the name of an object is Map1_AM_StaticMesh, then this object can be represented as an Int set of three key values; such as the structure:
[0032] Struct ResIndex
[0033] {
[0034] Int KeyIndex;
[0035] Int HashIndex;
[0036]}
[0037] Struct ResName
[0038] {
[0039] ResIndex ResName;
[0040] ResIndex MakerName;
[0041] ResIndex KindName;
[0042]};
[0043] The specific string can be obtained by searching the corresponding hash table;
[0044] Step 3: Char...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com