Type inference optimization
Abstract
Operations include (a) identifying bounds corresponding to two or more inference variables corresponding to a nested method invocation context, (b) determining that resolution of a first inference variable can be determined as a function of a resolution of a second inference variable, (c) propagating bounds corresponding to the second inference variable from the nested method invocation context to an outer method invocation context without propagating bounds corresponding to the first inference variable, (d) resolving a constraint set to resolve the second inference variable, and (e) resolving the first inference variable based on the resolution of the second inference variable.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 40 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
One or more non-transitory computer readable media storing instructions which, when executed by one or more hardware processors, cause: identifying a set of methods comprising a nested method and an outer method, wherein the nested method is nested inside the outer method, the nested method is associated with a nested method invocation context, and the outer method is associated with an outer method invocation context; identifying a plurality of inference variables associated with the nested method invocation context, the plurality of inference variables comprising a first inference variable a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (40)
Non-Patent Literature (5)
- Decrypting Local Type Inference; author: H Plociniczak published on 2016.
- Inference protocols for coreference resolution , author: KW Chang; published on 2011.
- Title: Extending Dylan's type system for better type inference and error detection , author: H Mehnert et al, published on 2010.
- Title: Faster than C: Static type inference with Starkiller, author: M Salib, published on 2004.
- Title: Trace-based just-in-time type specialization for dynamic languages; author: A Gal et al, source: ACM Sigplan, published on 2009.