Comment

Comment by a_nop

Supplying the array length to such a summing function is not a big deal. The compiler is not likely to handle this poorly. Probably gets inlined.

If the syntax is the problem, yeah, if you want first class data structures you might not like C.

parent a_nop 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton