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 TArray #13

Closed
treeowl opened this issue May 28, 2018 · 4 comments · Fixed by #66
Closed

Unbox TArray #13

treeowl opened this issue May 28, 2018 · 4 comments · Fixed by #66

Comments

@treeowl
Copy link
Contributor

treeowl commented May 28, 2018

Currently, a TArray is a boxed Array of TVars. This seems kind of silly. If TArray is used at all, the array should surely be unboxed to reduce indirection. Nowadays, that means futzing with ArrayArray#, but we'll soon have UnliftedArray#.

@simonmar
Copy link
Member

simonmar commented Jun 8, 2018

Indeed. Let's wait for UnliftedArray# and then fix this.

@lehins
Copy link
Contributor

lehins commented Oct 9, 2018

Here seems to be a related and a bit dated ticket: https://ghc.haskell.org/trac/ghc/ticket/634

@treeowl
Copy link
Contributor Author

treeowl commented Feb 14, 2023

We now have UnliftedArray#.

@konsumlamm
Copy link
Contributor

Since Array# is now levity polymorphic, this should be relatively easy to implement.

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

Successfully merging a pull request may close this issue.

4 participants