Skip to content
This repository was archived by the owner on Apr 19, 2019. It is now read-only.
This repository was archived by the owner on Apr 19, 2019. It is now read-only.

Unboxing types #5

@SquidDev

Description

@SquidDev

A recent profile of the latest version shows (unsurprisingly) that the slowest part of the code is boxing/unboxing numbers.

I feel the best thing to do would be to generate a specialised bytecode which uses doubles instead. However this would require tracking the types of variables to see where it is worthwhile not boxing the types.

  • Incremental/delayed compilation
  • Specialise functions
  • Specialising function calls
  • Removing debug API calls when not needed
  • Inline calls to math.* and bit.* functions

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions