mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Avoid a whole lot of extraneous allocate/copy/free cycles when
serialized objects are constructed.
This commit is contained in:
@@ -95,6 +95,9 @@ public:
|
||||
STObject(SOElement *t, SerializerIterator& u, const char *n = NULL);
|
||||
virtual ~STObject() { ; }
|
||||
|
||||
void set(SOElement *t);
|
||||
void set(SOElement *t, SerializerIterator& u);
|
||||
|
||||
int getLength() const;
|
||||
SerializedTypeID getSType() const { return STI_OBJECT; }
|
||||
virtual bool isEquivalent(const SerializedType& t) const;
|
||||
|
||||
Reference in New Issue
Block a user