Repository navigation
src: use Blob{Des|S}erializer for SEA blobs - #47962
Conversation
|
Review requested:
|
| } | ||
|
|
||
| template <typename Impl> | ||
| size_t BlobSerializer<Impl>::WriteString(const std::string& data) { |
There was a problem hiding this comment.
| size_t BlobSerializer<Impl>::WriteString(const std::string& data) { | |
| size_t BlobSerializer<Impl>::WriteString(const std::string_view data) { |
There was a problem hiding this comment.
This is the method that writes strings (which logs the string directly in debug mode). The one that doesn't is WriteStringView (which obviously doesn't log that data as string).
RaisinTen
left a comment
There was a problem hiding this comment.
Now that we're using these classes for both snapshots and SEAs, we can update these comments to also mention SEA:
node/src/blob_serializer_deserializer.h
Lines 9 to 10 in 2e67401
node/src/blob_serializer_deserializer-inl.h
Lines 16 to 17 in 2e67401
Co-authored-by: Darshan Sen <raisinten@gmail.com>
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
Landed in e2caafa |
|
I'm getting compiler errors and warnings with GCC 13: |
|
@joyeecheung yes it does |
PR-URL: #47962 Reviewed-By: Darshan Sen <raisinten@gmail.com>
PR-URL: nodejs#47962 Reviewed-By: Darshan Sen <raisinten@gmail.com>
PR-URL: nodejs#47962 Reviewed-By: Darshan Sen <raisinten@gmail.com>
No description provided.