Representation and conversion of dynamically-typed arrays
Abstract
Representation of an array in dynamically-typed program code at runtime is provided. Program code is accessed at runtime. An instruction for adding, updating or deleting one or more elements for an array is detected within the code. The array is associated with a first kind of element comprising a first representation and packing format. A second kind of element is determined based on at least one of the instruction or the one or more elements, the second kind of element comprising at least one of a second representation or packing format. A determination is made that the first and second kind of elements are not consistent, based on an inconsistency between the first and second representation formats or packing formats. The array is converted so that the first and second kind of elements are consistent. One or more array elements are added, updated or deleted based on the instruction.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A machine-implemented method of representing an array in dynamically-typed program code at runtime, the method comprising: accessing program code at runtime, the program code corresponding to a dynamically-typed programming language; detecting, within the program code, an instruction for adding, updating or deleting one or more elements for an array, wherein the array is associated with a first kind of element, the first kind of element comprising a first representation format and a first packing format; determining a second kind of element based on at least one of the instruction or the one o
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 (7)
Non-Patent Literature (4)
- Aumanets et al., "Cast primitive type array into object array in java", Apr. 9, 2011; Web page. Source:: http://stackoverflow.com/questions/5606338/cast-primitive-type-array-into-object-array-in-java.
- Hunlock, "Mastering Javascript Arrays", Mar. 25, 2007; Web page. Source:: http://www.hunlock.com/blogs/Mastering-Javascript-Arrays.
- Hunlock, "Mastering Javascript Arrays", Mar. 25, 2007; Web page. Source:: http://www.hunlock.com/blogs/Mastering—Javascript—Arrays.
- Mohan, "To convert all elements in an array to integer in javascript?", Dec. 14, 2010; Web page. Source:: http://stackoverflow.com/questions/4437916/to-convert-all-elements-in-an-array-to-integer-in-javascript.