Skip to content

Instantly share code, notes, and snippets.

View jedbrown's full-sized avatar

Jed Brown jedbrown

View GitHub Profile
#!/usr/bin/env python3
s = set()
a = range(3)
s.update(a)
print(list(a)) # [0, 1, 2]
b = map(lambda x:10+x,a)
print(list(b)) # [10, 11, 12]
s.update(b)
We couldn’t find that file to show.
;; With prefetch and NT stores:
0000000000401608 <main+0xac8> add esi,0x4
000000000040160b <main+0xacb> add rcx,0x20
000000000040160f <main+0xacf> cmp esi,0x7a1200
0000000000401615 <main+0xad5> je 00000000004016a9 <main+0xb69>
000000000040161b <main+0xadb> mov rax,QWORD PTR [rsp+0x748]
0000000000401623 <main+0xae3> movapd xmm0,xmm3
0000000000401627 <main+0xae7> mulpd xmm0,XMMWORD PTR [rax+rcx*1]
000000000040162c <main+0xaec> movapd xmm1,XMMWORD PTR [rax+rcx*1+0x10]