Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbox small Integers #1

Open
Ralith opened this issue Aug 26, 2014 · 0 comments
Open

Unbox small Integers #1

Ralith opened this issue Aug 26, 2014 · 0 comments

Comments

@Ralith
Copy link
Contributor

Ralith commented Aug 26, 2014

Integer performance is presently quite slow because all values of Integer type are full heap-allocated boxed GMP integers. The standard optimization to use tagged pointers to unbox small integers should be applied. Due to the Nat -> Integer optimization Idris performs, this should improve general performance substantially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant