Towards the Gestalt
BlogTILProjectsAbout
Published on
May 28, 2024

TIL: Python has a `memoryview` builtin

Provides a wrapper over a slice of bytes or bytearray. Useful for when you don't want to copy stuff over. Can even mutate the contents!

See docs.

← C++17 can do variable initialization inside `if` conditions
git supports `:/foo` to find first commit with `foo` in first line →
mailMailgithubGitHublinkedinLinkedinxX
Krut Patel
•
© 2025
•
Krut's Blog
Tailwind Nextjs Theme