Data processing method and device, electronic equipment and storage medium
By performing data type conversion and storage optimization for initial data in software development, the high memory overhead problem of general container libraries in memory management is solved, and memory savings and system performance are improved.
Patent Information
- Application Number
- CN202411848658.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-13
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-12-13
AI Technical Summary
During the software development process, when using a general container library to manage memory and data, there is a high memory overhead, especially in data scenarios with low update frequency but frequent use, which leads to increased system resource consumption and affects performance.
The converted data is obtained by determining the target type from multiple candidate data types based on the data value for the initial data loaded into the target container, and converting the initial data from the initial type to the target type. The data length of the converted data is smaller than the data length of the initial data, and in response to detecting that the memory area capacity difference determined according to the target type meets the predetermined conditions, the converted data is stored in an available memory area other than the basic memory area.
It achieves the effect of saving memory, reduces the memory space required to store data, optimizes memory usage, improves cache hit rate, reduces memory waste, and improves system performance and stability.