Better HN
topnewbestaskshowjobs
Log inSign up

peepeepoopoo16

5 karma · joined Jul 8, 2023 (3y ago) · 2 submissions

Submissions

comment 3y ago · link · parent

Mind offering an explanation?

comment 3y ago · link · parent

From what I can tell, it memoizes the intermediate additions and then uses that to amortize the adds across multiple array elements and achieve speedups.