#Micro Optimizer
99 messages · Page 1 of 1 (latest)
oh wow its here
:o
new optimization mod just dropped :o
how good is this? like, will it break with other mods or does it do similar stuff to other opt mods
I'm very confused what this mod actually does
I'm reading the code and the first thing in the source on the TS is a player controller cache with what looks like a 30 second invalidation timer and that seems kinda like nonsense
yeah your right that is pretty unnecessary i was being overly cautious about stale references ill change it tho
I understand that a Dictionary keyed by a ref type and serving a ref type is pretty cheap but you're clearing it so often and player controllers don't have a huge lookup cost that I can't see when you'd have enough cache hits in under 30 seconds for it to be valuable
I legit don't understand how any of what is in this mod would make the game run better
It's micro optimizations that reduce repeated work ill push a new patch soon hold on I lowkey messed up
I'm not convinced of even that but assuming it does a bunch of micro optimizations you're using harmony patches which have an overhead each time the method is called and I suspect you may be losing all the gains from your optimizations on that
The transpilers I'm not sure on
fair point, transpilers modify IL at load time so no runtime overhead there. I haven't done proper benchmarking on the prefix patches yet but if people notice any improvements I'll keep working on it, if not I'll shelve it.
I think the network object cache might be actually good. I'd like to see some profiling. You can use a Stopwatch class to get a fairly decent millisecond accurate timer on how long a method takes to run but that wouldn't count any overhead from a patch since unless you started and stopped the timer outside a method call
I'm not sure if HighResolutionTimers is available in NS2.1 or not tho
Also, I'd like to point out there is already a mod called LethalOptimizer which is going to be confusing to people
oh hell ðŸ˜
nope we already talked about it in modding general
had a feeling
paco checked it out, it literally disables itself when loading
oh wow
at least its not the OTHER
XD FJKSDFHSDJKFAS
A lot of AI generated mods disable themselves when loading and the authors continue to not believe me and give me AI generated responses about why its important to listen to OnDestroy
ill be switching up the name then in that case
yeah that one is ANOTHER one
peak
i would like to know what this mod actually does
for some reason discord never likes the videos you upload and won't play them
For the better (probably)

he has premium quality
prob bc 4k, even compressed, sometime discord cant handle
I think it's a codec thing, I typically download em and they play fine
i also have that issue when looking through his stuff in phone
Or maybe that then
Lol
Rencode them as webms at 160p
ive been using handbreak as of late
and its helped a lot
maybe "Micro Optimizer"
yeah that sounds fine
I do Handbrake just for complying with the 10MB size limit (lowering quality a bunch of times until it fit) and ffmpeg for actual convertin 
Also the use of Update() in the Plugin class, expecting it to be a Behaviour or somethin 
I think the network cache and string changes might be valuable but its not something I'd run. I have a good enough CPU to not mind the vanilla way and I simply do not trust anyone to make an optimization mod.
If you guys have weaker PCs then I guess it won't hurt to try it
Micro Optimizer
someone ping a mod NOW
@TheEntireLCModdingCommunity
NOOOOO
Bug report: MicroOptimizer mod causes a 'swimming on land' glitch. After exiting water, the character animation/physics stay stuck in swimming mode.
Modpack code: 019bef95-c6fb-7f92-c74d-ceaa0d079c07
got it
this should be fixed if you dont mind testing
I’ll test it right now
Still not fixed. Seems like a mod conflict
can you send a screenshot of your mods i cant put the mod code in i dont use r2
try with just the optimization mod
BepInEx-BepInExPack-5.4.2304
Scoops-LethalSponge-1.3.6
DiFFoZ-HarmonyXTranspilerFix-1.1.0
DiFFoZ-LethalPerformance-1.2.1
fumiko-CullFactory-2.0.3
AdiBTW-Loadstone-0.1.23
DiFFoZ-BepInEx_Faster_Load_AssetBundles_Patcher-1.0.1
XuXiaolan-ReXuvination-1.1.0
Zaggy1024-PathfindingLib-2.4.1
Zaggy1024-PathfindingLagFix-2.2.5
mattymatty-MonkeyInjectionLibrary-1.0.2
mattymatty-AdditionalNetworking_Experimental-2.3.6
mattymatty-EntranceTeleportOptimizations-0.0.5
LethalCompanyModding-VertexLibrary-1.1.0
mattymatty-Matty_Fixes-1.1.35
TestAccount666-TestAccountCore-1.16.3
Rune580-LethalCompany_InputUtils-0.7.12
TestAccount666-TestAccountFixes-1.4.0
Hardy-LCMaxSoundsFix-1.2.0
ButteryStancakes-EnemySoundFixes-1.8.5
Fandovec03-SpiderPositionFix-1.5.3
ButteryStancakes-MaskFixes-1.5.2
JacobG5-LostEnemyFix-1.1.0
Dev1A3-LethalFixes-1.3.0
ButteryStancakes-ButteryFixes-1.15.6
mattymatty-LobbyControl-2.5.11
Evaisa-HookGenPatcher-0.0.5
SylviBlossom-TerminalConflictFix-1.2.2
mattymatty-AsyncLoggers-2.2.3
DiggC-CruiserImproved-1.5.2
ButteryStancakes-MeleeFixes-1.4.1
v0xx-TerraMesh-1.2.0
ScienceBird-Universal_Radar-1.2.3
rectorado-FontUpdate-0.8.2
JacobG5-ReverbTriggerFix-0.3.0
chuxiaaaa-ChuxiaFixes-1.0.4
hu_luo_bo_ya-V73dcfix-1.0.6
MonoDetour-MonoDetour-0.7.10
MonoDetour-MonoDetour_BepInEx_5-0.7.10
Hamunii-TypeLoadExceptionFixer-1.0.4
DiFFoZ-DiFFoZTweaks-1.5.1
slayer6409-LethalScrollFix-0.0.1
DaanSmoki-ReviveDesyncPatch-1.0.0
SimonTendo-LCLocalFixes-0.0.3
ButteryStancakes-JetpackFixes-1.5.4
ButteryStancakes-WeedKillerFixes-1.1.2
Chboo1-High_Quota_Fixes-1.56.7
Kittenji-LaserPointerDetonator-1.0.1
IntegrityChaos-LCCutscene-2.0.1
IntegrityChaos-GraphicsAPI-1.0.0
IntegrityChaos-Diversity-3.1.0
v0xx-DiversityNoFloppy-1.0.4
HQHQTeam-ShipLootCruiser-1.0.3
Evaisa-FixPluginTypesSerialization-1.1.4
Sigurd-CSync-5.0.1
Evaisa-LethalLib-1.1.1
ZetaArcade-MoreCounterplayFork-1.5.1
coderCleric-Poltergeist-1.2.9
FlipMods-ReservedItemSlotCore-2.0.53
FlipMods-ReservedFlashlightSlot-2.0.10
falcodxb-LessLogs-1.0.1
BMX-LobbyCompatibility-1.5.1
CapyCat-Solos_Bodycams-1.0.5
notnotnotswipez-MoreCompany-1.12.0
DaXcess-NoMoreCompanyLogo-1.1.0
mattymatty-TooManyItems-1.4.1
Entity378-SellBodiesFixed-1.13.2
Zehs-SellMyScrap-1.14.3
FiligraniCringeGang-ProperOxygen-1.0.0
SpookyBuddy-EasterEggFixes-2.0.1
Hamunii-DetourContext_Dispose_Fix-1.0.7
qwbarch-Concentus-2.3.0
qwbarch-OpusDotNet-1.0.30
willis81808-LethalSettings-1.4.1
Hamunii-AutoHookGenPatcher-1.0.9
Bobbie-NAudio-2.2.2
VirusTLNR-MaskedInvisFix-0.0.2
qwbarch-MirageCore-1.0.4
qwbarch-Mirage-1.29.0
AinaVT-LethalConfig-1.4.6
DaXcess-NoJumpDelay-1.1.1
bultaming-NoGrabDelay-1.0.0
CaprineLogic-NoInteractDelay-1.2.0
sunnobunno-YippeeMod-1.2.4
sunnobunno-BonkHitSFX-1.0.5
EladNLG-EladsHUD-1.3.0
qwcan-FairAI_Quicksand_Fix-1.5.5
FlipMods-BetterStamina-1.5.7
Nilaier-EnhancedIcons-1.0.4
MegaPiggy-BuyableShotgunShells-1.3.0
Megalophobia-Longer_Day-1.0.0
Lordfirespeed-OdinSerializer-2024.2.2700
xilophor-StaticNetcodeLib-1.2.0
EliteMasterEric-Coroner-2.3.0
Zehs-Hitmarker-1.2.3
Swaggies-BetterEXP-2.6.2
x753-More_Suits-1.5.2
ButteryStancakes-Chameleon-2.2.1
giosuel-ToiletPaperNormalizer-1.0.0
loaforc-loaforcsSoundAPI-2.0.8
loaforc-loaforcsSoundAPI_LethalCompany-1.0.2
LethalResonance-LETHALRESONANCE-4.7.8
ShaosilGaming-GeneralImprovements-1.4.15
mrov-MrovLib-0.4.0
mrov-BiggerShip-1.0.12
Pooble-LCBetterSaves-1.7.3
TestAccount666-GoodItemScan-1.14.0
Dev1A3-BetterVehicleControls-1.1.6
4902-Cruiser_Additions-1.4.9
Swaggies-NaturalHealthRegen-1.0.0
Unknown-MicroOptimizer.dll-0.0.0
Rumi-FixCameraResolution-1.4.0
hmm ill have to look into it further man
There’s a new glitch where I gain speed every time I go into the water
alright
I know you can handle it
yeah just give me some time man i gotcha
this should be solved very soon sorry about that fellas
[1.0.4] - 2025-01-26
Removed collision component caching that was causing swimming/quicksand bugs
I'm gonna be deprecating this mod now, sorry fellas i might come back to this but Id have bigger projects and this mod is pretty useless
Why deprecate if it works

