昨日は数論暗号勉強会に参加. 今回はhttpsの脆弱な鍵を運用しているサーバの話と秘匿検索の話. どちらも応用よりの話でいろいろ勉強になった. 28日のVCのビット演算→乗算最適化が面白かったので少し試してみた. int f(int x) { return (x << 1) + (x << 2) + (x << 3) + (x << 4); } はxを30倍するコードだがどうなるだろう. まずはgcc 4.6.3 f: lea eax, [0+rdi*4] lea eax, [rax+rdi*2] lea eax, [rax+rdi*8] sal edi, 4 add eax, edi ret 極めて素直なコード. ではVC2012. // 64bit imul ecx, 30 mov eax, ecx // 32bit mov ecx, DWORD PTR _x$[esp-4] mov
An external FNV Wikipedia page exists History and use of the FNV hash FNV has been put into the public domain via the Creative Commons CC0 1.0 Universal (CC0 1.0) Public Domain Dedication license. The FNV-1 hash in a nutshell The FNV-1a hash minor variation FNV-1/FNV-1a hash parameters A few remarks on FNV primes Changing the FNV hash size with xor-folding FNV hash with a non-power of 2 size FNV r
入門者向け alt属性の書き方アドバイス Web Accessibility Advent Calendar 2017
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く