bigeasy / bigeasy/timezone

Possibly remove double function call.

Open
#99 0 comments 0 reactions 1 assignee Claimed by @bigeasy View on GitHub
enhancement
Dominant language
JavaScript
Stars
256
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Curious to see if the double function call at the outset costs us dearly.

Removing the double function call at the outset is

Note that, we can never be as fast as a date formatter that does not localize. We need to keep track of `this`, so we need to call our functions using `call`, we can't call them directly. The only thing we can try to do to improve performance is use a switch statement.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.