Skip to content

Always return a number from table.getn and table.getsize #97

Closed
@Garanas

Description

@Garanas

The assembly-based functions made by @KionX two years ago were left unused because they were incompatible with the previously existing functions. The Lua implementations would always return a number, regardless of the input type. For non-table types, it would simply return 0.

This is crucial for backwards compatibility. We can't use the faster alternatives until they always return a number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions