chrfritsch/nocopy
nocopy
chrfritsch/nocopy
nocopy
nocopy is an APCu-compatible PHP extension that provides zero-copy reads from shared memory, dramatically improving performance for large cached arrays. It hands over a pointer instead of copying data, making reads as fast as a single int.
Visit project- First shared
- Nov 9, 2026
- HN activity
- 20
Show HN@chrfritschNov 9, 2026
Show HN: nocopy – An APCu-compatible PHP extension with zero-copy reads
I built nocopy to show how much performance we leave on the table in current PHP applications. APCu copies each value into the request on every read, and nocopy hands over the shared value itself. It is thoroughly tested and benchmarked, but currently completely lacks production use. Disclosure: Opus wrote all the code. I drove the direction.
Community