Whilst Java's ArrayList overallocates by 50%: https://stackoverflow.com/a/14129344/509706 I'm surprised to learn that Python only overallocates lists by ~12.5%: https://github.com/python/cpython/blob/3.6/Objects/listobject.c#L49
I was not expecting such a range of values!
miniblog.
Related Posts
I've had good results by prompting an LLM "review your changes" in the same session when I don't like the initial output.
I'm surprised this is effective: I would think it's redundant when you're running with a high effort setting.
I'm impressed and slightly surprised that I can browse the web even when my local library's wifi blocks detectportal.firefox.com ("Download sites are banned").
It seems that Firefox only requires the website to be redirected when there's a captive portal.
I'm surprised there aren't more tools out there for starting a new project with some default config files.
There's `cargo new` but it's Rust specific and very minimal. create-react-app is React specific.
The only option I know of is cookiecutter. Surely it's a common problem?