# APL muss nicht jede boolesche Scan-Primitive einzeln optimieren

Original title: Symmetries in Boolean Scan

> Hacker News story 50098281 · language: de · submitted 2026-10-15
> Web version: https://zeli.app/de/story/50098281
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 12 · by [g0xA52A2A](<https://news.ycombinator.com/user?id=g0xA52A2A>) · 💬 0
[original](<https://ap29600.github.io/boolean_scans.html>) · [HN discussion](<https://news.ycombinator.com/item?id=50098281>)

## Summary

APL-Interpreter optimieren Primitive wie +/ in nativem Code, aber boolesche Scans sind wegen der vielen binären booleschen Funktionen aufwendig. Der Artikel zeigt, wie man mit drei Kompositionsregeln für Scans – Vorverarbeitung, Nachverarbeitung und beides kombiniert – die 10 booleschen Primitive aufeinander abbildet. Es genügt, ∧, < und ≠ schnell zu implementieren, um alle anderen durch Symmetrien abzuleiten, was Implementierungsaufwand spart.

## Key quote

> We can see that the set ∧, <, ≠ covers all columns at least once, therefore if we provide fast implementations of each of these, we can derive decent implementations of the others by just applying these symmetries.

---

## Cite

- Page: https://zeli.app/de/story/50098281
- Date: 2026-10-15
- Source: ap29600.github.io (https://ap29600.github.io/boolean_scans.html)
- Hacker News: https://news.ycombinator.com/item?id=50098281

## Other languages

- en: https://zeli.app/story/50098281 · markdown: https://zeli.app/story/50098281.md
- zh: https://zeli.app/zh/story/50098281 · markdown: https://zeli.app/zh/story/50098281.md
- ja: https://zeli.app/ja/story/50098281 · markdown: https://zeli.app/ja/story/50098281.md
- ko: https://zeli.app/ko/story/50098281 · markdown: https://zeli.app/ko/story/50098281.md
- es: https://zeli.app/es/story/50098281 · markdown: https://zeli.app/es/story/50098281.md
- ru: https://zeli.app/ru/story/50098281 · markdown: https://zeli.app/ru/story/50098281.md
