https://digilms.github.io/posts/fast-1-io-insertion/