USER INTERFACE RESOURCE FILE OPTIMIZATION
Technologies described herein reduce the size of a software application. In some embodiments, the size of one or more resource files of an application are reduced. Resource files include key/value pairs that define elements of the application. In some embodiments, the application's source code...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Technologies described herein reduce the size of a software application. In some embodiments, the size of one or more resource files of an application are reduced. Resource files include key/value pairs that define elements of the application. In some embodiments, the application's source code is analyzed to determine if an entry in a resource file may be removed. For instance, initialization functions in the application's source code may be analyzed to determine if a value loaded from a resource file is replaced before being used. For example, a button with a color property may be defined as grey by a resource, but later set to orange in an initialization function. In this case, the resource entry defining button as grey is superfluous and may be safely removed. This technique allows for entries to be removed from a resource file even though the source code references the entries.
本文所描述的技术减小了软件应用的大小。在一些实施方式中,应用的一个或多个资源文件的大小被减小。资源文件包括限定应用的元素的键/值对。在一些实施方式中,对应用的源代码进行分析,以确定资源文件中的条目是否可以被移除。例如,可以对应用的源代码中的初始化函数进行分析 |
---|