OPTIMIZING INTERMEDIATE REPRESENTATION OF SCRIPT CODE BY ELIMINATING REDUNDANT REFERENCE COUNT OPERATIONS

Patent №

US 8,990,789

Granted

2015-03-24

Filed 2013

Owner

FACEBOOK, INC.

AI components

2

kr · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

13865932

Disclosed here are methods, systems, paradigms and structures for optimizing generation of intermediate representation (IR) for a script code by eliminating redundant object reference count operations from the IR. An IR of the script includes (a) a set of first code that increments a reference count of an object when a programming construct refers to the object, and (b) an associated set of second code which decrements the reference count of the object when a reference to the object is removed. The IR is analyzed to identify a subset of the set of second code which, upon execution, does not decrement the reference count of the object to a zero value. The subset of second code and the first code corresponding to the subset is removed from the IR to generate an optimized IR. The optimized IR is further converted to an executable code.

Knowledge representationAI hardwareG06F 8/443G06F 8/4435G06F 8/52G06F 12/0261

AI classification

AI hardware1.00
Knowledge representation0.98
Planning0.14
Vision0.06
Evolutionary computation0.05
Natural language0.00
Speech0.00
Machine learning0.00

Ownership

FACEBOOK, INC.

assignment · 310150510

Assignors

ADL-TABATABAI, ALI-REZA, DE LIMA OTTONI, GUILHERME, PALECZNY, MICHAEL

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC