Compiling method and device

The embodiment of the invention discloses a compiling method and device, relates to the field of electronic equipment, and aims to reduce invalid overhead caused by optimization processing of a function by an invalid optimization plug-in. On the premise that the optimization effect is not degraded,...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: PENG ZHUOLI, LI WENTAO, QIU YU, JI KECHENG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention discloses a compiling method and device, relates to the field of electronic equipment, and aims to reduce invalid overhead caused by optimization processing of a function by an invalid optimization plug-in. On the premise that the optimization effect is not degraded, the optimization time consumption can be remarkably shortened, and the optimization and compiling efficiency is improved. The specific scheme is as follows: reading a to-be-compiled code; and obtaining software characteristics of the to-be-compiled code. The software feature is used for identifying the to-be-compiled code. According to the software features, an optimized plug-in combination matched with the to-be-compiled code is determined, and the number of plug-ins in the optimized plug-in combination is smaller than the number of plug-ins in the optimized plug-in combination of a preset fixed combination. And performing optimization processing on the to-be-compiled code according to the matched optimization plu