Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by simonask

5 hours ago

String search algorithms would be one example, where a 64-bit register can be used as a “vector” containing 8x1 bytes.

2 comments

simonask

Reply

jstimpfle  4 hours ago

Where is the part about unaligned pointers?

  • simonask  1 hour ago

    Strings typically consist of UTF-8 bytes, and any old `char*` pair has no alignment guarantees.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities