self-optimizing code

noun
UK /ˌself ˈɒptɪmaɪzɪŋ kəʊd/
US /ˌself ˈɑːptɪmaɪzɪŋ koʊd/

Computer code that can make itself work better and faster on its own.

The game's self-optimizing code adjusted the graphics so it ran smoothly on older computers.


OTHER MEANINGS

2. Software that automatically rewrites parts of itself to use fewer resources.

Thanks to self-optimizing code, the app used less battery after a few days.

3. A program that learns from its own performance data to improve future runs.

The server's self-optimizing code noticed slow queries and fixed them by itself.

4. Code that adjusts its settings automatically based on the device it runs on.

Self-optimizing code helped the video player pick the best quality for each phone.