RimWorld

RimWorld

Red's Performance Fixes (aka. Comp EggLayer Fix)
143 Comments
AzoorFox Jun 15 @ 12:52pm 
UPDATE WHEN???????????????????????
Hqiran Jun 14 @ 6:56pm 
o7
Chαsε Jun 14 @ 7:16am 
The moment I see "eggs" and "chicken" in the DLC post I knew it sound familiar.
donitor Jun 13 @ 8:00pm 
o7
Justacommonegg Jun 12 @ 12:31pm 
o7
RedCloud53 Jun 12 @ 11:52am 
o7
Wednesday Jun 12 @ 3:21am 
o7
-=GoW=-Dennis Jun 12 @ 2:58am 
o7
Myrst Jun 11 @ 9:40pm 
o7
You can tell it's a good modder if the devs copy their homework!
Maxitous Jun 11 @ 5:29pm 
o7
Apollyeon Jun 11 @ 5:05pm 
o7
󠀡󠀡 Jun 11 @ 4:45pm 
o7
pyr0kid Jun 11 @ 3:06pm 
o7
Krake Jun 11 @ 2:27pm 
@ravinglegend Patch notes say they did. Gongrats on being part of vanilla now RedMattis!
Thank you for your service Comp EggLayer! o7
Ravinglegend Jun 11 @ 1:10pm 
Do you know if they fixed this in 1.6? I think they mentioned that they were fixing something similar to this when improving performance.
Reaper415 Jun 10 @ 7:09pm 
The BEST mod I never knew I needed (found it thanks to a random reddit comment). It's an INSTANT performance increase! Thank you so much for this dude.
ryhndo Jun 2 @ 9:37pm 
@GIBBYDAMAN I thought I saw it on the sheet, and I’m using it for my next mp modlist
Head May 24 @ 1:02pm 
Thanks for this mod. I installed it and it gave me an instant 25% TPS boost, it's crazy
GIBBYDAMAN May 22 @ 6:03am 
just asking if any humans in this known world has tried this mod with multiplayer yet?
Serina Apr 24 @ 4:59am 
did Ludeon say anything about merging this fix?
The Blind One Mar 25 @ 12:38pm 
It's crazy how this gave back between ~10% to ~20% of my TPS performance on speed 3.

Went from ~260 to ~330 TPS. I do have like 30 chickens but still.
RedMattis  [author] Feb 3 @ 1:06am 
@llunak
Yeah, I know I could have transpiled it, but I was concerned that would cause more compatibility problems.

There is a real risk that others are (or will be in the future) transpiling into that method given how it works.

To date the only issue I'm aware of is the outpost one, and that is caused by them directly checking type "dalmatiner == dog" (false) instead of using an is statement "dalmatiner is dog" (true).
llunak Feb 2 @ 11:58pm 
@RedMattis: Oh, I see, I thought there was a way to get a list of all costs in one place instead of having to check all Dubs Analyzer tabs one by one :(.

BTW, you could avoid the compatibility problems (including possible future ones if the RW code changes) if instead of replacing the whole thing you just prefixed the existing function to add the 'if' and then transpilled the 1f to 1000f.
RedMattis  [author] Feb 2 @ 10:54pm 
@Victor
EggChickenUnfertilized532633 seems to be getting errors, which I guess might be due to your Egg Boxes mod. But, er, that is an egg, not an Egg Layer . I don't think I modify the actual eggs, just the creatures that lay them.

The only issue I've been aware of is the Ranch Outpost added by the fan-addon to vanilla expanded outposts. That one did a hard check for the old comp. Fixing that from their end is trivial, and I sent instructions after someone asked me about it. Dunno if that is fixed now. :)

@llunak
It is from Dub's Analyzer. When you go into a method there is an option to see what calls it and how many times.
llunak Feb 2 @ 11:50am 
Which tool was used to get the performance table (used in the first and also title images)? I don't see such a list in Dubs Performance Analyzer.
Victor Jan 8 @ 4:08pm 
Does this mod breaks Egg Boxes? I'm getting some errors with chickens and a Alpha Animals egglayer, but I also have 490 active mods so
https://gist.github.com/HugsLibRecordKeeper/f9ad20f7e31150cb4620fda5e8ed2d16
♰Yepitwontwork♱ Jan 4 @ 3:16pm 
my love for this mod is explainable, so i shall just say thank you!
Rat Dec 26, 2024 @ 10:41pm 
cool mod yes :Rat_Laugh:
Anonymous Dec 25, 2024 @ 6:18am 
Well done noticing and fixing this, no idea how many games it has lagged out for me over time since I never would have suspected eggs.
Lightwave Dec 24, 2024 @ 5:39am 
Nice mod!
Fuffydud Dec 20, 2024 @ 7:13am 
this explains a lot about that save where I farmed turkeys
Aggressive_Pizza Dec 11, 2024 @ 6:39pm 
@doeulas try to read the description a few inches from the comment section challenge (impossible)
Mac Dec 4, 2024 @ 1:59am 
First of all- awesome mod. Anything that makes Rimworld even a tiny bit more optimised tickles my pickle. I was going to ask if you could look into an issue with wall destruction causing absolutely terrible lag/fps/tps drops in maps that are not your colony (camps, enemy bases, etc.), even if you can not fix the issue, perhaps shedding some light on it and sending it over to Ludeon could help annihilate this annoying optimisation issue in the long term.
shinylavawarrior Dec 3, 2024 @ 11:19am 
Red's Peggformance Fixes
Ptr2680 Dec 2, 2024 @ 8:25pm 
what did the turkey do why is he literal satan
RedMattis  [author] Dec 2, 2024 @ 12:32am 
@Velxra
Wouldn't unlocking Pandora's box imply that I just unleashed horrible performance evils though? :p

Perhaps I managed to compel out some of the "Hope" that was left behind out after Pandora Ludeon opened the box. :'D
VelxraTV Nov 30, 2024 @ 2:04pm 
This person has unlocked pandora's box of performance. In one simple step.
Zek-zeon Nov 29, 2024 @ 5:43pm 
Instructions were a bit unclear about how this helps, so I added the nuke launcher mod and set it to "end now" setting and crashed the Rimworlds.
Blind Ace Nov 26, 2024 @ 4:03pm 
How has this made my game run faster than any other performance mod
irrelevantredundancy Nov 20, 2024 @ 8:24pm 
I can't tell if this is real or a joke. I don't have any chickens so should I bother getting this? or should I get some chickens and then get it?
Maddie Nov 15, 2024 @ 3:07pm 
I love this mod
jooj Nov 13, 2024 @ 10:54pm 
I'm adding this just because of the humourous mod premise description.
Hermann Nov 10, 2024 @ 2:34am 
@Red yooo huge fan tysm for this
WabbaCat Nov 3, 2024 @ 5:26am 
another performance fix I knew I needed but didnt know what specifically it was.
ty
Kaluth Nov 2, 2024 @ 6:23pm 
Just farm potatoes and gaslight your people into loving the paste. >:D
Red Nov 2, 2024 @ 6:13pm 
I made this mod fr fr :VBCOOL:
Fogueira Medieval Nov 2, 2024 @ 11:43am 
The savior has arived, the lag will perish
Obi-Patates Nov 1, 2024 @ 6:00pm 
Let's be honest, the only reason this game has had any success is due to the insanely good modding community.

Eat your heart out, Tynan.
Helixien Nov 1, 2024 @ 6:08am 
Can you fix the rest of rimworld next? THANKS!
Bilge-Soup Head Oct 27, 2024 @ 10:58am 
Mods that give us cool toys and guns are great.
Mods that fix performance issues? Those are LEGENDARY.