Apoli Stream Leak

Quick rating

Community listing page, reviews here may not be monitored by the author.

Apoli Stream Leak

No reviews yet

Overwrites Apoli's costly usages of Streams and memory-intensive operations that are run on every tick.

No Theme
No Genre
Bug Fixes
Performance & Optimization
Mod Addon
Mod Loaders
Forge
Minecraft

Community voices

Reviews

List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Show per page
10
25
50
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

About

Project Details

Type
Mod
Latest Version
ASL 1.1.0 for 1.20.1

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

Resources

External Links

Source Issues Wiki Discord

About

Description

Apoli Stream Leak

Apoli Stream Leak is a coremod for Forge that aims to fix avoidable performance issues for Apoli (Forge).

Purpose

Apoli is a 3rd-party redistribution of a library that comes built-in with Origins (Forge) that modders can use without needing to depend on the rest of Origins. There are several instances within Apoli's code where Streams are created in methods that are called every tick on both the client and server. The creations of these Streams, along with their associated lambda allocations, have caused noticeable performance degradations, especially on servers with multiple players connected.

Apoli Stream Leak overwrites the usages of these Stream creations with traditional for-loops and other alternative implementations in order to avoid excess memory usage. The result is immediate.

Performance Difference

Here is a Spark profile of the Resurvival modpack which contains Apoli:
https://spark.lucko.me/Qa87epEMA8

Here is a Spark profile of the same instance now including Apoli Stream Leak:
https://spark.lucko.me/vQ1lXBRg7w

Within Spark's own mod tree, Apoli itself sees a 4% decrease in tick time when paired with Apoli Stream Leak. Other mods such as Mining Master, which use events that Apoli directly hooks into, also see a decrease of around 1% or greater.

Open to Other Solutions

Apoli Stream Leak was created due to the absense of a open-source/source-available repository for Apoli (Forge) (NOT to be confused with the original Apoli mod). I am personally open to contributing the changes I have made with this coremod to Apoli itself (preferably for the Forge version as that is my use case). You can find me at jonathing.me.

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

~87,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works