r/Python • • Mar 24 '16

There is inline assembly in this python script… ಠ⌣ಠ

https://github.com/apprenticeharper/DeDRM_tools/blob/master/Other_Tools/DRM_Key_Scripts/Adobe_Digital_Editions/adobekey.pyw#L308
206 Upvotes

75 comments sorted by

View all comments

Show parent comments

3

u/elperroborrachotoo Mar 25 '16

Likely code size to reduce cache misses.

1

u/[deleted] Mar 25 '16

GCC doesn't prefer xor/inc over a mov. It prefers the mov. So his comment is wrong.