Comment

Comment by magicalhippo

Casting isn't slow, it's the boxing. A generics List<T> isn't much slower than the non-generic List if T is some class. But if T is say an integer, then you're paying for the implicit boxing and unboxing.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton