-
公开(公告)号:US20250021486A1
公开(公告)日:2025-01-16
申请号:US18770314
申请日:2024-07-11
Applicant: Lemon Inc.
Inventor: Zeqing Xie
IPC: G06F12/0873 , G06F12/0893
Abstract: The disclosure provides a method, apparatus, device, and medium for caching a program object. The detailed description of this method includes: in response to a start of a target program, reading an information collection of a cache object from a storage device, preloading the cache object into a cache pool of the target program based on the information collection; and in response to a closure of the target program, saving the information collection of the cache object in the cache pool to the storage device. With this method, it is possible to eliminate the need to re-determine the preloaded object based on a manually maintained preloading policy each time the program starts, reduce computational consumption, and prevent the problem of degradation of program performance due to overloading or misloading of a cache object. In addition, the labor cost used to maintain the preload policy is reduced.