Files
Bubberstation/code/modules/research/techweb/_techweb.dm
Kylerace fcade1b140 fixes tech disk uploading taking 5 seconds of total cpu (#90005)
## About The Pull Request
idk if the master crash thing was effectively solved in the last week
but now it is, uploading the debug tech disk has gone from 5 seconds of
total cpu to 0.58 seconds. also since it filters out already added
designs and nodes more it costs much less to upload it redundantly than
before.

before (uploading disk to web and web to disk)

[message(5).txt](https://github.com/user-attachments/files/19205791/message.5.txt)


uploading 1 time

[message(3).txt](https://github.com/user-attachments/files/19205746/message.3.txt)
uploading 7 times

[message(4).txt](https://github.com/user-attachments/files/19205756/message.4.txt)
## Why It's Good For The Game
why did it take 5 seconds to go over 1000 things? because it was
redundantly doing things 10,000s of times
## Changelog
🆑
refactor: tech disk uploading isnt super slow anymore (much harder to
crash spacetime with it)
/🆑

---------

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
2025-03-17 01:42:36 +01:00

20 KiB