miniblog.
← Back to all posts
Aug 30, 2014 at 15:53
Learnt a fascinating, non-obvious (to me) fact that resizing a vector's memory by a factor of 2 is optimally bad
folly/folly/docs/FBVector.md at main · facebook/folly
An open-source C++ library developed and used at Facebook. - facebook/folly
Wilfred Hughes
Related Posts
Jan 28, 2018 at 23:25
Today I learnt that elisp has first-class bool vectors!
Bool-Vectors (GNU Emacs Lisp Reference Manual)
Bool-Vectors (GNU Emacs Lisp Reference Manual)
Wilfred Hughes
Shared words: Learnt, vector Score: 53.8
Apr 24, 2013 at 09:52
Learnt today that GNU netcat is not, in fact, a GNU project:
https://lists.gnu.org/archive/html/bug-coreutils/2007-10/msg00077.html
. netcat implementations from the BSDs work better.
Re: eof in nc (netcat)
lists.gnu.org/archive/html/bug-coreutils/2007-10/msg00077.html
Wilfred Hughes
Shared words: Learnt, fact Score: 51.9
Jun 5, 2026 at 08:53
3
1
Today I learnt about clippy::clone_on_ref_ptr, which complains about t.clone() on a Rc<Thing>. You write Rc::clone(t) instead, so it's obvious it's a cheap clone. It's a nice approach, because it makes the expensive clones more obvious.
Clippy Lints
A collection of lints to catch common mistakes and improve your Rust code.
Wilfred Hughes
Shared words: Learnt, obvious Score: 51.6