Skip to content

Maximal index that can be accessed is 256. #8

@enedil

Description

@enedil

Since every integer that is treated as a number is an unsigned char, some of the functionality can't be accessed. This includes

  • too many builtin functions/variables (which for instance is a case at Spidermonkey).
  • inability to access array indices greater than 255.

Proposed solution: include special opcode with one argument (say n), which means that the argument for the next read value will be 256*n + m instead of regular m. For better illustration, look at EXTENDED_ARG opcode from Python 3.6 and above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions