Program file compression method and device and electronic equipment
Embodiments of the invention provide a program file compression method and apparatus, and an electronic device. The method comprises the steps of obtaining at least one function in a target program file; determining a compression mode corresponding to the data of the instruction node according to th...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Embodiments of the invention provide a program file compression method and apparatus, and an electronic device. The method comprises the steps of obtaining at least one function in a target program file; determining a compression mode corresponding to the data of the instruction node according to the data length of the instruction node of the function; the compression mode is used for representing a data length adopted when the data of the instruction node is compressed; and based on the compression mode, writing the data of the instruction node of the function into a compression program file corresponding to the target program file so as to compress the data of the instruction node of the function through the compression program file. According to the data length of the instruction node of the function in the target program file, the compression mode corresponding to the data of the instruction node of the function is determined, the compression program file compresses the data of the instruction node of the |
---|