Quantcast
WoWInterface - Search Results
Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: KL1SK
Forum: Lua/XML Help 10-02-20, 06:49 AM
Replies: 14
Views: 6,305
Posted By KL1SK
Yes, I was considering using 'coroutine'. But...

Yes, I was considering using 'coroutine'. But does it have any advantages other than convenience?
Based on my practice, beautiful code in most cases ~= fast code. :)
Forum: Lua/XML Help 10-01-20, 11:56 PM
Replies: 14
Views: 6,305
Posted By KL1SK
@SDPhantom thanks for xpcall, never used such a...

@SDPhantom thanks for xpcall, never used such a useful feature before :). And also does not eat up performance.
I decided to abandon OnUpdate in favor of C_Timer, it turned out to be a little...
Forum: Lua/XML Help 10-01-20, 02:00 AM
Replies: 14
Views: 6,305
Posted By KL1SK
If I understood correctly "Debug profiling" works...

If I understood correctly "Debug profiling" works constantly. debugprofilestop () just returns its running time?
Forum: Lua/XML Help 09-30-20, 02:40 PM
Replies: 14
Views: 6,305
Posted By KL1SK
There is such code: local EM =...

There is such code:

local EM = CreateFrame('Frame')

testTable = {}
for i = 1, 100000 do
testTable[i] = i
end

function DefPairs()
Forum: Lua/XML Help 09-29-20, 12:23 PM
Replies: 14
Views: 6,305
Posted By KL1SK
Depending on the delta of the frame time, the...

Depending on the delta of the frame time, the cycle time in the frame is regulated. Yes it can be called a queue.
Forum: Lua/XML Help 09-29-20, 01:17 AM
Replies: 14
Views: 6,305
Posted By KL1SK
I want to organize the work of a loop with a...

I want to organize the work of a loop with a dynamic load on the frame. To avoid stuttering when working with the "for" operator. For this, it is desirable to have accurate data.
Forum: Lua/XML Help 09-28-20, 09:50 AM
Replies: 14
Views: 6,305
Posted By KL1SK
Question GetTime()

Is there a more precise function GetTime ()?
When I call GetTime () every millisecond, I don't get the exact time, about 5-10 milliseconds are wasted.
Rather, GetTime () returns the same value...
Forum: Lua/XML Help 09-17-20, 01:35 AM
Replies: 2
Views: 4,575
Posted By KL1SK
Yes it looks like it. Thank.

Yes it looks like it. Thank.
Forum: Lua/XML Help 09-16-20, 11:40 PM
Replies: 2
Views: 4,575
Posted By KL1SK
Question LibEventManager

Has anyone tried writing something similar to an event manager? Or maybe there is already such a thing?
Showing results 1 to 9 of 9