Re:LLMs and Code Optimization
by wpollock on Monday January 20, 2025 @12:23PM
(#42770876)
I may be missing something, but the most obvious improvement would be to eliminate duplicate input. A million integers in the range of 1 to 100,000 (the prompt doesn't specify if the range is inclusive or exclusive) means that at least 90% of the numbers must be duplicates. What would be the speed up if the list generation filtered them out?
[ Parent
| on HN ]
There are no comments on this comment yet.