Tagged “prematureoptimization”
-
TIL the cost of spaces on TypeScript compile prematureoptimization typescript
One nice surprise we found from using esbuild was that on-disk size was reduced by more than we expected. It turns out that a big reason for this is that esbuild uses 2 spaces for indentation in output instead of the 4 spaces that TypeScript uses. When gzipping, the difference is very small; but on disk, we saved a considerable amount.
See all tags.