I wrote this bloc of code in my script and I need help for improving it bc performance and speed are trash in this loop I also have 7K values in ListOfPointers
the script is basically goes to class name > field> get all the pointers of its value (ListOfPointers) convert the values to string and check if it match the public const string
------------------------------------------------------------------------------------------------- here check if the lengh is correct / evade bugs
if Len < 3 or Len > 97 then index = index + 1 else
P = NL(Len)/2
for i,v in pairs(Test) do
Test[i].address = Test[i].address +4
end
gg.loadResults(Test)
Test=gg.getResults(gg.getResultsCount())
checker = {}
---------------------------------------------------------------------------> here i add every value in a table until the last offest
for f = 1, P do
for i,v in pairs(Test) do
Test[i].address = Test[i].address +4
checker[f] = Test[i].value
end
gg.loadResults(Test)
Test=gg.getResults(gg.getResultsCount())
end
--------------------------------------------------------------------------------------> merg(checker) convert values into string and check if the values match the string (match the string in the table)
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
XEKEX
I wrote this bloc of code in my script and I need help for improving it bc performance and speed are trash in this loop I also have 7K values in ListOfPointers
the script is basically goes to class name > field> get all the pointers of its value (ListOfPointers) convert the values to string and check if it match the public const string
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.