Working on a problem. Making the computer do what it's doing faster is possible, but only a small change. I need to work out how to make it do less for the same results. Tricky.

Follow

@ColinTheMathmo
Reminds of a code comparison between C and RUST where they have to calculate the summation of numbers from 1 to a big number.
C doesn't do any fancy stuffs and iterates the million times while RUST uses the sneaky formula of computing summation to do it 1800 times faster then C

@mur2501 In this case I'm doing a search, and I'm sure there are many shortcuts, but each shortcut I think about, I then can find a way it might go wrong.

Tricky.

@ColinTheMathmo
Mostly shortcuts are for specific conditions and stuffs, getting a generalised faster solution is sometimes not feasible.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.