Skip to content

Commit

Permalink
simdutf
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-conway committed Aug 2, 2024
1 parent b2dc6a1 commit d7e2e97
Show file tree
Hide file tree
Showing 9 changed files with 383 additions and 42,686 deletions.
713 changes: 375 additions & 338 deletions packages/bun-uws/src/WebSocketProtocol.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/bun.js/bindings/Base64Helpers.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#include "root.h"
#include "simdutf.h"
#include "wtf/SIMDUTF.h"

#include "ExceptionOr.h"

Expand Down
5 changes: 3 additions & 2 deletions src/bun.js/bindings/BunString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "JavaScriptCore/JSCJSValue.h"
#include "JavaScriptCore/PutPropertySlot.h"

#include "simdutf.h"
#include "wtf/SIMDUTF.h"
#include "JSDOMURL.h"
#include "DOMURL.h"
#include "ZigGlobalObject.h"
Expand Down Expand Up @@ -205,7 +205,8 @@ BunString toStringRef(WTF::StringImpl* wtfString)
return { BunStringTag::WTFStringImpl, { .wtf = wtfString } };
}

BunString toStringView(StringView view) {
BunString toStringView(StringView view)
{
return {
BunStringTag::ZigString,
{ .zig = toZigString(view) }
Expand Down
2 changes: 1 addition & 1 deletion src/bun.js/bindings/bun-simdutf.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "simdutf.h"
#include "wtf/SIMDUTF.h"

typedef struct SIMDUTFResult {
int error;
Expand Down
38,583 changes: 0 additions & 38,583 deletions src/bun.js/bindings/simdutf.cpp

This file was deleted.

Loading

0 comments on commit d7e2e97

Please sign in to comment.