Commit Graph

8 Commits

Author SHA1 Message Date
Ben Marsh
508c144999 Horde: Last batch (hopefully) of static analysis fixes/suppressions.
#preflight 623e144c8073508cfc117a87

[CL 19517822 by Ben Marsh in ue5-main branch]
2022-03-25 15:35:47 -04:00
Ben Marsh
9e6e68ba17 CS: Add overloads for commonly serialized compact binary types.
#preflight 61e4a67d7b0f77175a5d6621

[CL 18630220 by Ben Marsh in ue5-main branch]
2022-01-16 18:26:30 -05:00
Ben Marsh
9a20c018c9 Horde: Generalize the delegate used to serialize StreamTree objects, to allow serializing directly into existing buffers without constructing intermediate CbObject representations.
[CL 17622208 by Ben Marsh in ue5-main branch]
2021-09-24 13:12:27 -04:00
Ben Marsh
14265b9ee1 Horde: Fix sub-optimal encoding of workspace snapshots, when the path to an item is the same as the path to its parent folder plus the item name.
[CL 17621434 by Ben Marsh in ue5-main branch]
2021-09-24 10:57:42 -04:00
Ben Marsh
2f6b890df1 Horde: Reduce memory usage when capturing workspace (part 2)
* Added UTF8 native version of fstat record to avoid unnecessary conversions
* Avoid conversion to/from UTF8 strings when converting Perforce records into CB objects
* Fixed implicit conversion of string to UTF8 string in argument check
* Converted ViewMap to use UTF8 strings

[CL 17601088 by Ben Marsh in ue5-main branch]
2021-09-22 17:34:10 -04:00
Ben Marsh
2d70fb8adc Horde: Reduce memory usage when querying workspace state (pt 1)
* CbWriter instances may now be cleared, and can cache allocated buffers between uses.
* Records may now be returned using IAsyncEnumerable<T> allowing them to be processed as they are received, and removing the need to allocate large numbers of temporary objects.

[CL 17599803 by Ben Marsh in ue5-main branch]
2021-09-22 16:10:08 -04:00
Ben Marsh
43761d0be1 Horde: Separate implementation of stream snapshots from tree objects.
[CL 16883430 by Ben Marsh in ue5-main branch]
2021-07-19 10:34:55 -04:00
Ben Marsh
b3fb0f0503 Horde: Write managed workspace snapshots using Compact Binary.
[CL 16811525 by Ben Marsh in ue5-main branch]
2021-07-06 11:00:26 -04:00