• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[JASS] l33kz omg

Status
Not open for further replies.
Level 14
Joined
Nov 25, 2004
Messages
1,185
[sceptic]
how many location leaks it takes for computer to lag? (approximately of course). I am asking that because all of my maps that use periodic events (0.01) + polar offset don't lag at all, so I wuz wondering how many locations it has to create for noticeable effect
[/sceptic]
 
Level 40
Joined
Dec 14, 2005
Messages
10,532
After a minute of a .01 second trigger leaking about... 23x (no, that number wasn't random. That's how many leaks the average 11-player 'sliding' trigger for a maze leaks), you'll start to get insane delay and such. Delay more that lag, however. Also, it will cause insane problems with TriggerSleepAction()

However, you shouldn't be using Locations in JASS except for Z heights, and a few other very specific things
 
Level 14
Joined
Nov 25, 2004
Messages
1,185
After a minute of a .01 second trigger leaking about... 23x (no, that number wasn't random. That's how many leaks the average 11-player 'sliding' trigger for a maze leaks), you'll start to get insane delay and such. Delay more that lag, however. Also, it will cause insane problems with TriggerSleepAction()

However, you shouldn't be using Locations in JASS except for Z heights, and a few other very specific things

check the attached map

i didn't notice ANY slowdown (measured by /fps command) even after creating 30k locations and my comp is seven years old junk
 

Attachments

  • lagz.w3m
    15.9 KB · Views: 32
Status
Not open for further replies.
Top