No matter what action you perform, if you happen to get lucky enough to "find a faster way" to do it, you immediately upon your next subsequent attempt become unlucky enough to "forget that which mere moments ago you discovered" and revert to the "slower way" of performing it.
This breaks the Rule of Common Sense which, in terms of computer simulation, states:
Reality is most effectively simulated through consistently implementing that which makes sense, and consistently avoiding that which does not.
To conform better with the Rule of Common Sense I suggest enacting one of these two modifications:
1. Set a fixed limit to how fast every action can be performed and allow the character to retain and compound his discoveries until he reaches this limit. Thereafter it becomes impossible to get lucky enough to make a new discovery.
2. Set a time limit where the character's lucky discovery remains in effect until he later forgets it.
My preference would be #1, though I expect #2 would be easier to implement.