Threadwell

Recent Notes

  • DemetriSpanos

    Oct 06, 2026

    • archive
    • twitter
    • demetrispanos
  • NOTimothyLottes

    Oct 06, 2026

    • archive
    • twitter
    • notimothylottes
  • bonzajplc

    Oct 06, 2026

    • archive
    • twitter
    • bonzajplc
Home

❯

Archive

❯

Threads

❯

nicbarkeragain

❯

"Branchless Programming" is a term used to describe a programming style that improves performance by avoiding branches (e.g.

❯

@nicbarkeragain I have no idea if it improves performance (in the grand scheme of a legacy canvas app) but I use tricks like this when rendering e.g.

@nicbarkeragain I have no idea if it improves performance (in the grand scheme of a legacy canvas app) but I use tricks like this when rendering e.g.

Properties5
typearchive
sourcetwitter
date2025-07-22
tagsarchive, twitter, nicbarkeragain
description@nicbarkeragain I have no idea if it improves performance (in the grand scheme of a legacy canvas app) but I use tricks like this when rendering e.g.

Jul 22, 20251 min read

  • archive
  • twitter
  • nicbarkeragain

Source

  • URL: https://x.com/la_ledda/status/1947546109435367608
  • Author: Dan Ledda (@la_ledda)
  • Posted: 2025-07-22 06:35:50

Branch

1/ @la_ledda

@nicbarkeragain

I have no idea if it improves performance (in the grand scheme of a legacy canvas app) but I use tricks like this when rendering e.g. things that are mirrored or flipped, having a -1 for many values that are reversed for the different orientation. It’s fun!

Related

  • Spine: 2025-07-22-branchless-programming-is-a-term-used-to-describe

Graph View

  • Source
  • Branch
  • Related

Backlinks

  • "Branchless Programming" is a term used to describe a programming style that improves performance by avoiding branches (e.g.

Created with Quartz v5.0.0 © 2026

  • GitHub