Hacker News new | past | comments | ask | show | jobs | submit login

Actually most of the LLMs algos are less efficient than the readable human one, even with only two nested loops. Only one of them precalculates the factors which makes the biggest difference (there are log2(N) factors, worst case, for large N and a triple loop over those is better than a double loop over 1..N).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: