A python-based r.java file optimization method and optimization system
An optimization method and file technology, applied in software deployment, software engineering design, program code conversion, etc., can solve problems such as confusion, cannot find, slow application startup, etc., to optimize size, reduce the number of members, and reduce subcontracting effect of quantity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0045] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.
[0046] see figure 1 As shown, the embodiment of the present invention provides a method for optimizing a python-based R.java file: the R.java file is used to store the resource name and resource value of the resource called by the java code source file in the application program, and the method includes:
[0047] Step S1, creating a python dictionary object, traversing the R.java file directory, obtaining all resource names and resource values corresponding to the resource names and storing them in the python dictionary object;
[0048] Step S2, creating a path list, obtaining paths of all java code source files in the application program and storing them in the path list;
[0049] Step S3, traversing the path list, opening the corresponding java code source file through the path of the java code source file, searching the python dictionary...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com