Jump to content

Advice on performance please


Recommended Posts

Not a problem, i feel you man and i do understand that when a mod becomes way too complicated and you have run out from painkillers, subconsciously you will seek for a short cut.

But keep on pushing... you will get there!.

Link to comment
Share on other sites

How much slower would using something like the StorageUtil that comes with Papyrus Util SE - https://www.nexusmods.com/skyrimspecialedition/mods/13048 be?

Storing items in files instead of formlists? I assume this would keep savegame file size down?, and the performance question would only apply while the MCM menu was open not during gameplay, as far as I can see.

 

 

diziet

Alright, I have to say this.

 

It's ok to be concerned about other people's saves/games, and how your own design performs. However this can also be a trap. If you over think about performance, your mod will never get off the ground.

Link to comment
Share on other sites

I do speak from experience. This is one of the reasons I've never released a mod. Always thinking it'll be stupid, or that I'll break someone's game or they have to change out a mod or whatever. So that my extensive knowledge of the CK is not wasted, I pass it on to others.

Edited by Rasikko
Link to comment
Share on other sites

maxarturo wrote: @ Rasikko


I assume that this:

i = i + 1

TO

i += 1

also applies to help "Count" functions to execute faster.


I do not think so!

It makes the same code (.pex). Only the source code (.psc) is a bit smaller, but this is a cosmetic change of programming style.


---

by changing this



Event OnDefaultST()
pleasant_outfit_toggle[index] = False
SetToggleOptionValueST(pleasant_outfit_toggle[index])
EndEvent


to this



Event OnDefaultST()
pleasant_outfit_toggle[index] = False
SetToggleOptionValueST(False)
EndEvent


it would reduce the (.pex) size.

Edited by ReDragon2013
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...