Merge pull request #5304 from VOREStation/vplk-reverse-all_atoms

Reverse use of global lists where they hurt performance.
This commit is contained in:
Atermonera
2018-05-28 12:40:40 -07:00
committed by Leshana
parent 27a5fc3965
commit 5c4bde965a
13 changed files with 25 additions and 33 deletions
+2 -2
View File
@@ -297,7 +297,7 @@ var/list/debug_verbs = list (
var/list/atom/atom_list = list()
for(var/atom/A in all_atoms)
for(var/atom/A in world)
if(istype(A,type_path))
var/atom/B = A
while(!(isturf(B.loc)))
@@ -333,7 +333,7 @@ var/list/debug_verbs = list (
var/count = 0
for(var/atom/A in all_atoms)
for(var/atom/A in world)
if(istype(A,type_path))
count++
/*