rewrite call request to structs. 300 000 rps performance

This commit is contained in:
2025-07-10 11:10:32 +03:00
parent a5a23354f9
commit 765625c65f
7 changed files with 24 additions and 19 deletions
+3 -3
View File
@@ -13,11 +13,11 @@ namespace mROA.Implementation
object?[]? Parameters { get; }
}
public class DefaultCallRequest : ICallRequest
public struct DefaultCallRequest : ICallRequest
{
public Guid Id { get; set; } = Guid.NewGuid();
public Guid Id { get; set; }
public int CommandId { get; set; }
public ComplexObjectIdentifier ObjectId { get; set; } = ComplexObjectIdentifier.Null;
public ComplexObjectIdentifier ObjectId { get; set; }
public object?[]? Parameters { get; set; }