Open Mothblocks opened 1 year ago
Related: #1
Cost appears to be 151ms.
So we close this now?
I want to be confident on the time savings first
Initializations skipped/saved during map load. This is not the stack amount but the number of actual stacks that were saved from being created during mapload
/obj/item/stack/cable_coil=180
/obj/item/stack/sheet/glass=145
/obj/item/stack/sheet/iron=30
/obj/item/stack/ore/bluespace_crystal/artificial=11
/obj/item/stack/sheet/plasteel=4
How i got these numbers is by a simple message_admins() inside this if condition. then i just manually grouped & added the numbers together https://github.com/tgstation/tgstation/blob/eae6a343e347bf0b772468eae7c5bf213e0c4e61/code/game/objects/items/circuitboards/circuitboard.dm#L94-L95
if(ispath(comp_path, /obj/item/stack))
continue
Definitely big
Metal, glass, coil, circuitboards. Will investigate later the cost. Cells are considered stock parts.