Study further more

進捗出します

2021-02-06から1日間の記事一覧

【Rails Code Reading 3回目】Read all records at once when using update with an array #40682

github.com Rails Code Reading 3回目です。 今回は題目のPRを読んでみました。 このPRは今から2ヶ月以上前に作成されたのにも関わらず、誰からもコメントが付いてなく放置気味だったので、好奇心から読んでみました。 内容としては、ActiveRecord::Modelを…

【Rails Code Reading 2回目】Reduce memory allocations #41335

Reduce memory allocations 今日読んでみたRailsのPRはここです。 github.com タイトルは、メモリーアロケーションを減らすとのこと。 これはどんな実装が見れることやら。 と思って読んでみたらこんな感じでした。 DEC2HEX = (0..255).to_a.map { |i| ENCOD…