mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 09:49:21 +00:00
Revert "Everywhere: Remove DeprecatedFlyString + any remaining references to it"
This reverts commit 3131e6369f
.
Greatly regressed JavaScript benchmark performance.
This commit is contained in:
parent
45905d6f7b
commit
7c32d1e8a5
Notes:
github-actions[bot]
2025-04-01 13:43:40 +00:00
Author: https://github.com/awesomekling
Commit: 7c32d1e8a5
23 changed files with 298 additions and 13 deletions
|
@ -86,7 +86,7 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
ByteString(FlyString const&);
|
||||
ByteString(DeprecatedFlyString const&);
|
||||
|
||||
static ErrorOr<ByteString> from_utf8(ReadonlyBytes);
|
||||
static ErrorOr<ByteString> from_utf8(StringView string) { return from_utf8(string.bytes()); }
|
||||
|
@ -228,6 +228,8 @@ public:
|
|||
|
||||
bool operator==(StringView) const;
|
||||
|
||||
bool operator==(DeprecatedFlyString const&) const;
|
||||
|
||||
bool operator<(ByteString const&) const;
|
||||
bool operator>=(ByteString const& other) const { return !(*this < other); }
|
||||
bool operator>=(char const* other) const { return !(*this < other); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue