Skip to content

Commit

Permalink
reduce array memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
nilproject committed Dec 1, 2024
1 parent fe31940 commit ac6fb2c
Show file tree
Hide file tree
Showing 2 changed files with 342 additions and 194 deletions.
14 changes: 14 additions & 0 deletions NiL.JS/Backward.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,20 @@ public ValueTuple(T1 item1, T2 item2)
Item2 = item2;
}
}

public struct ValueTuple<T1, T2, T3>
{
public readonly T1 Item1;
public readonly T2 Item2;
public readonly T3 Item3;

public ValueTuple(T1 item1, T2 item2, T3 item3)
{
Item1 = item1;
Item2 = item2;
Item3 = item3;
}
}
}
#endif

Expand Down
Loading

0 comments on commit ac6fb2c

Please sign in to comment.