Talk:IsKeyPressed - Input: Difference between revisions
Jump to navigation
Jump to search
m
→Boolean Switch: Linked cdcooley's performance thread
imported>JustinOther (→Boolean Switch: 'bIsKeyPressed = !bIsKeyPressed' vs. 'bIsKyePressed = Input.IsKeyPressed(iHotkey)') |
imported>JustinOther m (→Boolean Switch: Linked cdcooley's performance thread) |
||
| Line 6: | Line 6: | ||
-- [[User:Cipscis|Cipscis]] ([[User talk:Cipscis|talk]]) 17:48, 21 August 2012 (EDT) | -- [[User:Cipscis|Cipscis]] ([[User talk:Cipscis|talk]]) 17:48, 21 August 2012 (EDT) | ||
Other than the [http://forums.bethsoft.com/topic/1381253-what-is-the-disadvantage-to-importing-functions-into-a-script/ few threads in the CK forum | Other than the [http://forums.bethsoft.com/topic/1381253-what-is-the-disadvantage-to-importing-functions-into-a-script/ few] [http://forums.bethsoft.com/topic/1381253-what-is-the-disadvantage-to-importing-functions-into-a-script/ threads] in the CK forum, there really hasn't been any such equivalent testing, not to the extent you had tested with [http://forums.bethsoft.com/topic/987561-script-optimisation/page__p__14279570#entry14279570 FO3]/[http://forums.bethsoft.com/topic/1139867-script-optimisation/page__p__16678605__hl__optimisation__fromsearch__1#entry16678605 FNV]. Those threads were great, BTW :) I've been using a "quick 'n dirty" method to test snippets: | ||
<source lang="papyrus">Function SpeedTest01(Int aiIterations = 0, Float afStart = 0.0, Float afFinish = 0.0) | <source lang="papyrus">Function SpeedTest01(Int aiIterations = 0, Float afStart = 0.0, Float afFinish = 0.0) | ||
Debug.Notification("Test 01 started...") | Debug.Notification("Test 01 started...") | ||