Skip to content

Commit

Permalink
More compression.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Cole committed Jul 8, 2023
1 parent 038e2e8 commit 7f29a21
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions YSI_Coding/y_inline/y_inline_impl.inc
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,9 @@ forward Inline_MaybeConst_(ResolvedAlloc:slot);

stock Inline_EBC__(owner, tag)
{
// 8 bits for the tag (max 256), 24 for the ID (max 4,194,303 * 4).
return (owner | (tag & 0x3FF << 24));
// 8 bits for the tag (max 256), 23 for the ID (max 4,194,303 * 2), 1 for an
// indirection.inc internal flag.
return (owner | (tag & 0x3FF << 23));
}

stock operator*(@Ik:func, ebc)
Expand Down

0 comments on commit 7f29a21

Please sign in to comment.