Mod

Invasive Optimizations

Quick rating

Invasive Optimizations

No reviews yet

Invasive optimizations for other mods. If you experience any issues, disable this mod first!

Bug Fixes
Performance & Optimization
Mod Loaders
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
Invasive Optimizations 1.0.18 for 1.21.1
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Invasive Optimizations

Logo

Invasive optimizations for other mods, aiming to reduce server-side (tick) lag.
The invasive nature of these changes makes them more likely to crash or otherwise break.
Please report such issues to the issue tracker and I will try to respond to them in a timely manner.
Each change can also be individually toggled through the config and should solve any issues temporarily while you wait for a fix.

Optimizations included in this mod fall under one of the following categories:

  1. Patch has been sent but has not reviewed for a long time or expected to be useful in the time before the next release.
  2. Patch denied due to reasons unrelated to quality, such as non-maintenance, in which case future optimizations will also not be sent to that mod.
  3. Patch has no avenue of contribution (e.g. closed source mods)
  4. Patch already applied but not available in released versions.
  5. Patch is of dubious usefulness (these are disabled by default)

Current optimizations:

  • Applied Energistics 2
    • ae2.cache_fuzzy_search_max_value (4): Cache AEItemKey::fuzzySearchMaxValue during init. (PR)
  • Accessories
    • accessories.roundabout_collection (1): Avoid iterating Map entrySet by directly accessing underlying keySet. (PR)
  • Botany Pots
    • botanypots.hopper_insertions (1): Hopper Botany Pot exponential insertion backoff and emptiness tracking (PR)
  • Create
    • create.fail_fast_clipboard_migration (4): Fails fast when attempting clipboard migration in ItemStack.<init>, reducing impact to this extremely common operation. (PR)
  • Pastel
    • pastel.nuke_item_predicate_mixin (4): Nukes Pastel's ItemPredicateMixin as it is unnecessary and expensive
  • Pipez (Also see Pipez Lag Fix by AlmanaX21 for exponential backoff)
    • pipez.constant_fullness_checks (2): Turns connection/inventory fullness into O(1) operations
    • pipez.early_exits (2): Reduces unnecessary work done by exiting targeted functions early if the right conditions are met
    • pipez.extract_looped_work (2): Move some work out of loops to avoid duplicated work
    • pipez.nbt_comparisons (2): Drastically improves performance of NBT comparisons by minimizing serialization/deserialization operations
    • pipez.stream_abuse (2): Reduces abuse of Streams in hot paths to reduce allocation rate (PR)
  • Placebo
    • placebo.streamless_hashing (1): Replaces CachedObject#hashComponents with equivalent code that does not use the Stream API. (PR)
    • placebo.lazy_string_concatenation (1): Pass a Supplier<String> to Object#requireNonNull in DynamicHolder#get as it is a cold path in hot code. (PR)
  • SFM
    • sfm.filter_caching (5): Caches item and fluid filters (regular/regex and tag filters for now) using BitSets. Uses more memory and causes first compiles to take longer.
  • Xycraft Machines
    • xycraft_machines.unnecessary_resorting (3): Extractors resort their recipes every so often but is usually not necessary
    • xycraft_machines.redstone_checks (3): Extractors check for redstone signals every tick rather than only when their neighbours update

Invasive Optimizations

Logo

Invasive optimizations for other mods, aiming to reduce server-side (tick) lag.
The invasive nature of these changes makes them more likely to crash or otherwise break.
Please report such issues to the issue tracker and I will try to respond to them in a timely manner.
Each change can also be individually toggled through the config and should solve any issues temporarily while you wait for a fix.

Optimizations included in this mod fall under one of the following categories:

  1. Patch has been sent but has not reviewed for a long time or expected to be useful in the time before the next release.
  2. Patch denied due to reasons unrelated to quality, such as non-maintenance, in which case future optimizations will also not be sent to that mod.
  3. Patch has no avenue of contribution (e.g. closed source mods)
  4. Patch already applied but not available in released versions.

Current optimizations:

  • Accessories
    • accessories.roundabout_collection (1): Avoid iterating Map entrySet by directly accessing underlying keySet. (PR)
    • Botany Pots
      • botanypots.hopper_insertions (1): Hopper Botany Pot exponential insertion backoff and emptiness tracking (PR)
    • Create
      • create.fail_fast_clipboard_migration (1): Fails fast when attempting clipboard migration in ItemStack.<init>, reducing impact to this extremely common operation. (PR)
    • Pastel
      • pastel.nuke_item_predicate_mixin (4): Nukes Pastel's ItemPredicateMixin as it is unnecessary and expensive
    • Pipez (Also see Pipez Lag Fix by AlmanaX21 for exponential backoff)
      • pipez.constant_fullness_checks (2): Turns connection/inventory fullness into O(1) operations
      • pipez.early_exits (2): Reduces unnecessary work done by exiting targeted functions early if the right conditions are met
      • pipez.extract_looped_work (2): Move some work out of loops to avoid duplicated work
      • pipez.nbt_comparisons (2): Drastically improves performance of NBT comparisons by minimizing serialization/deserialization operations
      • pipez.stream_abuse (2): Reduces abuse of Streams in hot paths to reduce allocation rate (PR)
    • Xycraft Machines
      • xycraft_machines.unnecessary_resorting (3): Extractors resort their recipes every so often but is usually not necessary
      • xycraft_machines.redstone_checks (3): Extractors check for redstone signals every tick rather than only when their neighbours update

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync