2018-10-11から1日間の記事一覧
L1のキャッシュサイズ調べてみる cat /sys/devices/system/cpu/cpu0/cache/index0/ coherency_line_size number_of_sets power/ shared_cpu_map type ways_of_associativity level physical_line_partition shared_cpu_list size uevent cat /sys/devices/sy…
eachはSQL的にLIMITをつけずに全件メモリに確保。 find_eachはSQL的にLIMITをつけてデフォルトでは1000件ずつメモリに確保。 mapメソッドはブロックの返り値を集めた新しい配列を作成 ※ちなみにattributes、assign_attributesは多分一緒?