Red-Studio-Ragnarok / Opticraft

Opticraft – A Complete Guide & Modpack for an Optimized 1.12.2 Modded Experience
https://red-studio-ragnarok.github.io/Opticraft/
20 stars 0 forks source link

Redirectionor? #18

Open erialsan opened 3 months ago

erialsan commented 3 months ago

First Thing First

Let's define precisely what is an optimization mod:

It improves the game by either improving performance (making it faster) or making it more ressource efficient (using less of your CPU/GPU/etc.).

But it needs to do so without removing a feature or making said feature worse or in the case of making the game more ressource efficient it needs to do so without reducing performance.

Why the mod should be added to Opticraft

A clear and concise description of what the mod optimizes or fix.

In the well-known optimization mods for Minecraft, Sodium, Lithium or Phosphor, there is a common optimization concept: replacing references to element values in enum classes with static final field values references.

This technique aims to enhance performance by improving access speed and reducing unnecessary computations when frequently accessing the constants.

Redirectionor is the implementation of this concept to reduce the required memory of the game.

What does Redirectionor optimize exactly? It's quite wide. Nearly every Enum#values() call is redirected in this mod......

This implementation is not "thorough", but it is still quite impressive.

Link to the real mod page

Just the link to the real page of the mod no 9minecraft or other malware site

https://legacy.curseforge.com/minecraft/mc-mods/redirectionor-retro

Optional Informations

None in particular.

Additional information is not a criteria in any way it just helps me in my research