Skip to content
Snippets Groups Projects

Draft: use slots smaller than word as tag for smaller unboxed sums

Open Luite Stegeman requested to merge wip/ubxsumtag into master
3 unresolved threads

Saves some space, especially when storing a bunch of unpacked enums.

To clarify: This is beneficial for unboxed sums being used to {-# UNPACK #-} things into heap objects. This MR doesn't change the calling convention when passing/returning unboxed tuples/sums with smaller-than-word fields.

Edited by Luite Stegeman

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading