vscode-textmate icon indicating copy to clipboard operation
vscode-textmate copied to clipboard

Use performance now in tokenizeString instead of the raw Date.now()

Open Jacob-Roberts opened this issue 1 month ago • 0 comments

This function is being exported and used downstream in some projects that rely on next.js 16's cache components.

This doesn't allow using Date.now() and requires the use of performance.now() instead.

Since this file already imports the helper for using performanceNow() let's move over to use that

Jacob-Roberts avatar Nov 15 '25 07:11 Jacob-Roberts