summaryrefslogtreecommitdiff
path: root/time64.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-07-20 11:53:09 +0300
committerJarkko Hietaniemi <jhi@iki.fi>2015-07-22 08:33:26 -0400
commit48e9f29d31f13e3ebfb9f77ed4effa561966c7a9 (patch)
treee3d9c4cdf4dacccf9d3975999d4eaf81fc68237d /time64.c
parent8a62d6b8193214bd476c275fc4b083b526108223 (diff)
downloadperl-48e9f29d31f13e3ebfb9f77ed4effa561966c7a9.tar.gz
Drop useful-looking but unused lookup table.
Diffstat (limited to 'time64.c')
-rw-r--r--time64.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/time64.c b/time64.c
index 7d6246f7ad..ca7f78675d 100644
--- a/time64.c
+++ b/time64.c
@@ -72,16 +72,6 @@ static const short safe_years[SOLAR_CYCLE_LENGTH] = {
2012, 2013, 2014, 2015
};
-static const char dow_year_start[SOLAR_CYCLE_LENGTH] = {
- 5, 0, 1, 2, /* 0 2016 - 2019 */
- 3, 5, 6, 0, /* 4 */
- 1, 3, 4, 5, /* 8 */
- 6, 1, 2, 3, /* 12 */
- 4, 6, 0, 1, /* 16 */
- 2, 4, 5, 6, /* 20 2036, 2037, 2010, 2011 */
- 0, 2, 3, 4 /* 24 2012, 2013, 2014, 2015 */
-};
-
/* Let's assume people are going to be looking for dates in the future.
Let's provide some cheats so you can skip ahead.
This has a 4x speed boost when near 2008.