aboutsummaryrefslogtreecommitdiff
path: root/src/js_lexer.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-09 04:00:19 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-03-09 04:00:19 -0800
commit01b1fee2842b7be463f3861e177e2eba90eff308 (patch)
tree22a35a3208504d484a70e471aaff45c22c95b3a6 /src/js_lexer.zig
parentbdb5e4aa56fe48202f7c94982837ef72167b5408 (diff)
downloadbun-01b1fee2842b7be463f3861e177e2eba90eff308.tar.gz
bun-01b1fee2842b7be463f3861e177e2eba90eff308.tar.zst
bun-01b1fee2842b7be463f3861e177e2eba90eff308.zip
69% perf improvement for long string literals
Diffstat (limited to 'src/js_lexer.zig')
-rw-r--r--src/js_lexer.zig22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/js_lexer.zig b/src/js_lexer.zig
index f44d3b786..6e8563c70 100644
--- a/src/js_lexer.zig
+++ b/src/js_lexer.zig
@@ -4,17 +4,17 @@ const tables = @import("js_lexer_tables.zig");
const build_options = @import("build_options");
const js_ast = @import("js_ast.zig");
-const _global = @import("global.zig");
-const string = _global.string;
-const Output = _global.Output;
-const Global = _global.Global;
-const Environment = _global.Environment;
-const strings = _global.strings;
-const CodePoint = _global.CodePoint;
-const MutableString = _global.MutableString;
-const stringZ = _global.stringZ;
-const default_allocator = _global.default_allocator;
-const C = _global.C;
+const bun = @import("global.zig");
+const string = bun.string;
+const Output = bun.Output;
+const Global = bun.Global;
+const Environment = bun.Environment;
+const strings = bun.strings;
+const CodePoint = bun.CodePoint;
+const MutableString = bun.MutableString;
+const stringZ = bun.stringZ;
+const default_allocator = bun.default_allocator;
+const C = bun.C;
const FeatureFlags = @import("feature_flags.zig");
const JavascriptString = []const u16;