• justOnePersistentKbinPlease@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    6 hours ago

    I have have crafted assembly instructions and have made it faster than the same C code.

    Particular to if statements, C will do things push and pull values from the stack which takes a small but occasionally noticeable amount of cycles.

    • khalid_salad@awful.systems
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      3 hours ago

      python, what are you doing?"

      idk, I’m written in C, it does things push and pull values from the stack, have you tried assembly, it’s faster