Unlock instant, AI-driven research and patent intelligence for your innovation.

Bytecode optimization method, device, storage medium, processor and terminal

An optimization method and bytecode technology, applied in the computer field, can solve problems such as poor practicability, limited performance improvement, and high complexity of optimization schemes, and achieve the effects of improving operating performance, solving high complexity, and improving function execution efficiency

Active Publication Date: 2020-05-05
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0013] At least some embodiments of the present invention provide a bytecode optimization method, device, storage medium, processor, and terminal to at least solve the problem of the high complexity and practicability of the optimization scheme for the running performance of Python programs provided in the related art. Poor technical issues with limited performance improvements

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Bytecode optimization method, device, storage medium, processor and terminal
  • Bytecode optimization method, device, storage medium, processor and terminal
  • Bytecode optimization method, device, storage medium, processor and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0036]It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a byte code optimization method and apparatus, a storage medium, a processor and a terminal. The method comprises the steps of obtaining a to-be-optimized function; analyzing the to-be-optimized function to obtain a function byte code; analyzing the function byte code to obtain a first byte code segment accessing a global variable for the first time, wherein the global variable is accessed for multiple times in an execution process of the to-be-optimized function; and replacing the first byte code segment occurring repeatedly with a second byte code segment accessing alocal variable. The technical problems of relatively high complexity, relatively poor practicality and finite performance improvement of a Python program running performance optimization scheme provided in related technologies are solved.

Description

technical field [0001] The present invention relates to the field of computers, in particular, to a bytecode optimization method, device, storage medium, processor and terminal. Background technique [0002] Python is an object-oriented, interpreted and commonly used computer programming language. It is famous for its elegant syntax, rapid development, support for dynamic types, rich standard library, etc., so it is widely used in different fields. In the game development process, it is mainly used as a business logic layer scripting language. However, in the actual project development, the shortcomings of the Python language are also very obvious. Among them, one of the biggest problems is the slow running speed. Many projects developed using the Python language are likely to reach performance bottlenecks in the middle and later stages due to the increasingly complex business logic and heavy computing load. After analysis, it is found that the reason for this phenomenon i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/41
CPCG06F8/443
Inventor 白墨琛
Owner NETEASE (HANGZHOU) NETWORK CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More