{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreifxvcsafw5lep265biby4tsszyp2ukuxmxe2b336zwahftzvu3kqu",
    "uri": "at://did:plc:pi6woz4d47bkuws673w2il2r/app.bsky.feed.post/3mjyitva7je22"
  },
  "path": "/t/blog-5x-speedup-changing-break-to-elemindex/13946#post_8",
  "publishedAt": "2026-04-21T06:29:11.000Z",
  "site": "https://discourse.haskell.org",
  "textContent": "Well the migration from `Text` to `ByteString` unblocked using `elemIndex`, so it’s worth it now. In a future where `Text` provides an equivalent of `elemIndex`, sure. No, I’d rather not use that internal `memchr` function",
  "title": "[Blog] 5x speedup changing break to elemIndex!"
}