Skip to content

Decreased performance compared to the original distance_of_time_in_words #79

@Brotakuu

Description

@Brotakuu

Great gem, but the performance seems to be significantly slower than the method it replaces. Running a benchmark 10000 times, it is on average 4x slower.

Use dotiw   2.620000   0.010000   2.630000 (  2.666948)
No dotiw    0.670000   0.010000   0.680000 (  0.697011)

Any idea how to speed it up?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions