rewrite call request to structs. 300 000 rps performance
This commit is contained in:
1 parent
a5a23354f9
commit
765625c65f
7 files changed
+24
-19
No files matched your search
@@ -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; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user