Seriously, I know I whine a bit at work about SQLAlchemy, but I did not expect to have to be incandescent with rage about it on a Sunday evening too :(
Recently work had me diagnose some slowness on an internal webapp. It uses SQLAlchemy and was being a bit silly with a few of its queries.
This weekend I had to diagnose a slowness in mailman3 -- turned out it was doing similar -- gitlab.com/mailman/mailman/-β¦
ORMs BAD, MMKAY?
Sourdough starter pancake, mixed with gochujang, served with a soy sauce, sesame oil, and nice vinegar dip.
I will have to try with some kimchi tomorrow instead, to make @maangchi proud.
(Do koreans use sourdough?)
Co-worker was converting a code base from C++ to @rustlang. While in most benchmarks Rust was faster, there was one where C++ outperformed. The fix? Using iterators instead of array indexing. Making the code _higher level_ made it faster!
Tip: if you're committing Wasm files in your project, run this:
git config --global diff.wasm.textconv 'wasm2wat --enable-all --generate-names'
And add this to your global .gitattributes:
*.wasm diff=wasm
Congrats, now you have readable `git diff` on *.wasm binaries!