Skip to content

Commit 1bc14af

Browse files
committed
Update
1 parent dc3031f commit 1bc14af

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

src/Tests/StructTest/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private static void Main(string[] args)
3232
//Console.WriteLine();
3333
//ValidationTest.ValidationAllow();
3434

35-
//StructTest.Simple_Test();
35+
StructTest.Simple_Test();
3636
StructTest.Complex_Test();
3737

3838
//var config = DefaultConfig.Instance
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
namespace StructTest;
2+
3+
public class StructBenchmark
4+
{
5+
6+
#region Constants & Statics
7+
8+
private const int Count = 1_000_000;
9+
10+
#endregion
11+
12+
}

src/Tests/StructTest/StructTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ public BoxStruct(bool boolField, int intField, InnerStruct inner)
108108
}
109109

110110
[StructLayout(LayoutKind.Sequential)]
111+
//[StructLayout(LayoutKind.Sequential, Size = 16)]
111112
public readonly record struct InnerStruct
112113
{
113114
public readonly bool _boolField2;

0 commit comments

Comments
 (0)