Jump to content

String message parse optimization - the game


Łukasz

Recommended Posts

Your task is whipping up a piece of code that can unravel a string stuffed with uint64 data, all dressed up in that fancy communication protocol jacket. But hold your horses, partner! The catch is to make it faster than my own fancy footwork. Giddy up and get coding! 

Example of slow solution: 

image.png.fa6e9ecde68dec150ee2d1a01cfd2ba3.png

Much faster solution:

image.png.a6c1862b8c8fb83391b65e7062cef2c4.png

 

Y'all can lay your eyes on the testin' stuff right down yonder in that there attachment. And guess what? There's a little description of that frame thingamajig to tickle your fancy. So put on your explorin' hat and give it a gander!

decode-frame.vi

Edited by Łukasz
  • Haha 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.