mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibTextCodec: Don't allocate Strings on encoding normalisation
This ripples down to LibWeb's HTML and XHR decoders, which therefore become less allocation heavy.
This commit is contained in:
parent
820e03e8d4
commit
6a95df2526
Notes:
sideshowbarker
2024-07-17 17:00:47 +09:00
Author: https://github.com/Hendiadyoin1
Commit: 6a95df2526
Pull-request: https://github.com/SerenityOS/serenity/pull/13168
6 changed files with 48 additions and 48 deletions
|
@ -78,7 +78,7 @@ private:
|
|||
void fire_progress_event(const String&, u64, u64);
|
||||
|
||||
MimeSniff::MimeType get_response_mime_type() const;
|
||||
Optional<String> get_final_encoding() const;
|
||||
Optional<StringView> get_final_encoding() const;
|
||||
MimeSniff::MimeType get_final_mime_type() const;
|
||||
|
||||
String get_text_response() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue