JavaScript code optimization method based on front-end byte code technology
A code optimization and bytecode technology, applied in code compilation, program code conversion, electrical digital data processing, etc., can solve problems such as performance loss, application range and versatility limitations, data type derivation errors, etc., to reduce the number of calls , the effect of reducing the number of data transfers
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] The present invention proposes a JavaScript code optimization method based on front-end bytecode technology through research on JavaScript code performance optimization technology to improve program execution efficiency, which specifically includes the following steps:
[0036] Step 1. Execute the JavaScript code to be optimized. During the execution process, obtain the data type information and data value in the path to be executed, as well as the code segment with stable data type; the code segment with stable data type refers to the A code segment with stable variable data types in the path.
[0037] In this step, use the existing mature technology dynamic symbolic execution framework to run the JavaScript code to be optimized, obtain the variable name, variable data value, data type, node type on each execution path during the execution process, and use the tree data The structure holds this information, such as figure 2 As shown, we call it VariableTree. Each ex...
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