< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事
N :次の記事
|<:スレッドの先頭
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Hi Martin,
On Tue, Jul 16, 2013 at 03:24:36PM +0900, duerst (Martin D?rst) wrote:
>
> Issue #8640 has been updated by duerst (Martin D?rst).
>
>
> I think this is a good idea. But since
> duration = Time.now - start
> is in seconds, I'd either keep seconds as units, or make the use of nanoseconds explicit, e.g. like this:
> duration = start.elapsed_nanoseconds
I chose nanoseconds because it can be represented as an integer, so we
don't need to allocate Ruby objects (plus all the other benefits
integers buy us). So I'd really like to stick with nanoseconds as the
unit.
I'll propose both `elapsed` and `elapsed_nanoseconds` to matz. :-)
--
Aaron Patterson
http://tenderlovemaking.com/