summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal/fixed_queue.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/internal/fixed_queue.ts')
-rw-r--r--ext/node/polyfills/internal/fixed_queue.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/node/polyfills/internal/fixed_queue.ts b/ext/node/polyfills/internal/fixed_queue.ts
index e6b8db70f..2e57598d5 100644
--- a/ext/node/polyfills/internal/fixed_queue.ts
+++ b/ext/node/polyfills/internal/fixed_queue.ts
@@ -1,6 +1,9 @@
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
// Copyright Joyent, Inc. and other Node contributors.
+// TODO(petamoriken): enable prefer-primordials for node polyfills
+// deno-lint-ignore-file prefer-primordials
+
// Currently optimal queue size, tested on V8 6.0 - 6.6. Must be power of two.
const kSize = 2048;
const kMask = kSize - 1;