SIZE DEPENDENT TYPE IN ACCESSING DYNAMICALLY TYPED ARRAY OBJECTS
    2.
    发明申请
    SIZE DEPENDENT TYPE IN ACCESSING DYNAMICALLY TYPED ARRAY OBJECTS 审中-公开
    访问动态类型阵列对象的尺寸依赖类型

    公开(公告)号:WO2015031286A1

    公开(公告)日:2015-03-05

    申请号:PCT/US2014/052581

    申请日:2014-08-25

    Applicant: APPLE INC.

    Inventor: HAHNENBERG, Mark

    Abstract: A method and an apparatus for providing a flat array type in an object model for dynamically typed programs are described. Whether an array object is of a flat array type can be dynamically tracked for a dynamic language based program. Array elements of an array object of the flat array type may be stored in an inline storage within an object cell of the array object. The inline storage may be limited by available memory space between adjacent object cells. The flat array type of an array object may be detected based on whether the inline storage has sufficient memory space to store elements of the array. An array object of the flay array type may allow array elements of the array object to be accessed within a object cell without additional memory loading via a pointer stored in the object cell.

    Abstract translation: 描述用于在用于动态类型的程序的对象模型中提供平面阵列类型的方法和装置。 数组对象是否为平面数组类型,可以动态地跟踪基于动态语言的程序。 平面数组类型的数组对象的数组元素可以存储在数组对象的对象单元内的内联存储器中。 在线存储可能受到相邻对象单元之间的可用存储空间的限制。 可以基于内联存储器是否具有足够的存储器空间来存储阵列的元素来检测阵列对象的平面阵列类型。 flay数组类型的数组对象可以允许在对象单元内访问数组对象的数组元素,而不需要通过存储在对象单元格中的指针进行额外的内存加载。

Patent Agency Ranking