Difference between revisions of "User talk:Pedro Oval/Base64 HMAC MD5"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 3: Line 3:
If you change "T = llList2Integer(x,i);" to "T = llList2Integer(x,~i);" you don't need to reverse the order of x (allowing you to discard the "x = [H4, H3, H2, H1];"). You might find [[User:Strife_Onizuka/int2hexdword]] interesting.
If you change "T = llList2Integer(x,i);" to "T = llList2Integer(x,~i);" you don't need to reverse the order of x (allowing you to discard the "x = [H4, H3, H2, H1];"). You might find [[User:Strife_Onizuka/int2hexdword]] interesting.


The (one of the) reason(s) LSO is so slow is that it copies every parameter during a function call, if you used a Global for "b64", "H[1-4]" and "i" values it would be much faster (as you would be duplicating the variable fewer times). Of course doing so is evil. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 22:23, 16 December 2010 (UTC)
(One of) The reason(s) LSO is so slow is that it copies every parameter during a function call, if you used a Global for "b64", "H[1-4]" and "i" values it would be much faster (as you would be duplicating the variable fewer times). Of course doing so is evil. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 22:23, 16 December 2010 (UTC)

Revision as of 15:31, 16 December 2010

Suggestions

If you change "T = llList2Integer(x,i);" to "T = llList2Integer(x,~i);" you don't need to reverse the order of x (allowing you to discard the "x = [H4, H3, H2, H1];"). You might find User:Strife_Onizuka/int2hexdword interesting.

(One of) The reason(s) LSO is so slow is that it copies every parameter during a function call, if you used a Global for "b64", "H[1-4]" and "i" values it would be much faster (as you would be duplicating the variable fewer times). Of course doing so is evil. -- Strife (talk|contribs) 22:23, 16 December 2010 (UTC)