Runtime optimization using meta data for dynamic programming languages
Abstract
A method and an apparatus that optimize operations for a key among a collection of key indexed data structures using meta data describing properties of the key with respect to the collection of data structures are described. The meta data may correspond to a cache dynamically updated to indicate invariants which are true for the key in a current state of the collection of data structures. Expensive calculations to search through the collection of data structures for the key may be avoided. For example, costly lookup operations over a collection of data structures may not be required at all if a key is known to always (or to never) reference certain specific values, or for these values to have certain meta-properties, in any of the collection of data structure globally throughout a system at a current state.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A machine-readable non-transitory storage medium having instructions therein, which when executed by a machine, cause the machine to perform a method, the method comprising: speculatively generating compiled code for portions of a source code associated with a key, wherein a code compiled from the source code includes the speculatively generated compiled code; executing the code during runtime with a runtime state, wherein the runtime state includes one or more hash data indexed with one or more keys including the key, wherein the key has meta data describing assertions of one or more global p
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (27)
Non-Patent Literature (5)
- Agesen et al., "Type Feedback Vs. Concrete Type Intereference: A Comparison of Optimization Techniques for Object-Oriented Languages", Oct. 30, 1995, pp. 91-107, vol. 30, No. 10, New York, New York.
- Arnold et al., "A Framework for Reducing the Cost of Instrumented Code", 2001 ACM Sigplan Conference on Programming Language Design and Implementation (PLDI '01), Jun. 20-22, 2001, 12 pages, Snowbird, Utah.
- Bala, Vasanth et al., "Dynamo: a transparent dynamic optimization system," Proceeding PLDI '00, Proceedings of the ACM SIGPLAN 2000 conference on Programming language design and implementation, May 2000, 12 pages.
- Chambers, Craig et al., "An Efficient Implementation of SELF, A Dynamically-Typed Object-Oriented Language Based on Prototypes", Proceedings of the Object Oriented Programming Systems Languages and Applications Conference. (OOPSLA). New Orleans, Oct. 1-6, 1989, vol. 24, No. 10, pp. 49-70.
- Chang et al., "Tracing for Web 3.0, Trace Compilation for the Next Generation Web Applications", ACM, 2009, 10pg.