rewrite call request to structs. 300 000 rps performance

This commit is contained in:
micialware committed 2025-07-10 11:10:32 +03:00
1 parent a5a23354f9
commit 765625c65f
7 files changed
+24 -19

No files matched your search

+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; }