Comment

Comment by jonstewart

These are some of my favorite tricks. SHA2-256 is never “fast” but it can be really slow if you’re using a non-SIMD implementation (openssl uses SIMD).

A trick not mentioned here: for Python devs, import “orjson” instead of the json standard library; it is usually a drop-in replacement.

parent jonstewart 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton