SRL Archive - Reflection Discussion

Does using reflection lag?


rostaryms

2008-10-13 06:06:01

Does using reflection in a script use up more memory / lag more than just using srl?

JuKKa

2008-10-13 06:07:45

no… more likely less

Lee Lok Hin

2008-10-13 06:21:18

Well, reflection is still not fully freed, so, it might have an effect on the script itself after a loong while.

rostaryms

2008-10-13 06:25:30

yea what Lee Lok Hin said usually occurs with me, after an hour and a half or so it starts to really lag. Is there a way to fix this?

TheChineseMan

2008-10-13 06:40:48

dont use reflection? or maybe get a better comp i think

JuKKa

2008-10-13 06:59:22

been using reflection for 3 hours now, and no lag what so ever.

HyperSecret

2008-10-13 07:11:53

I believe when object finding not everything gets freed so ends up using more memory and eventually starts slowing down, like Lee Lok Hin stated…

I believe I said the right things there :rolleyes:

n3ss3s

2008-10-13 12:16:11

What do you mean about "reflection is still not fully freed", LeeLokHin?

Because Objects and Items sure do (free), and anyway all that needs freeing are objects.

MylesMadness

2008-10-13 15:01:36

That made no sence. Objects are freed, but they need to be freed :confused:

TViYH

2008-10-13 15:16:57

Reflection doesn't lag.

If SMART lags, it's not because of Reflection, it's probably because of a crappy amount of virtual memory.

Shady?

2008-10-13 15:48:35

Im running on Ubuntu and i get 17+ reports every day using 'ZephyrsFury's edited by Shady? Karamja Fisher' wich is like 100% reflection, and no lag at all.

Seroko

2008-10-14 05:50:35

A well designed reflection base script will not cause any lag that you can notice unless their is memory leaks and it builds up over several hours. However a poorly designed script that dumps the settings array often or dumps all objects will cause issues so i have seen.

almost

2009-01-10 00:23:18

I have a good comp but using SMART (not reflection) will make me lag a bit.
If you bring up the task manager and right click on scar.exe and set the priority to real time it pretty much makes lag impossible.
But running other things while you auto will give you horrible lag because all of your computer's "focus" will be set on SCAR.
Or just try setting it to high if you have problems with real time.