Parsing JSON at 1 MiB lengths #1291
Replies: 2 comments 4 replies
|
This results in For now substituting this until I figure out a more performant pattern. |
4 replies
|
@bnoordhuis Check this out https://gist.github.com/guest271314/c88d281572aadb2cc6265e3e9eb09810. I'm kinda not on the "AI" boat. I was on Discord posting about the nonsense Gemini was spitting out. A Discord user was feeding Gemini the code I wrote, and the conversation we were having. I did the test of what Gemini spit out based on my initial code and what Gemini spit out, shorter time being faster: Shorter time being faster. Testing code, run from the browser in DevTools Snippets Gemini guest271314 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm working on supporting 64 MiB input to a QuickJS NG Native Messaging host. For comparison, here's the working Node.js and AssemblyScript versions
I think this should work, however, the program is exiting. The pertinent logic is in the statement of
if (message.length > 1024 ** 2) {//...}. What's going on here?All reactions