Skip to content

Commit

Permalink
micro optimization for interal struct layout
Browse files Browse the repository at this point in the history
  • Loading branch information
JackStouffer committed Aug 4, 2021
1 parent 55e6218 commit c0d7d71
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions source/dateparser/parseresult.d
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ package:

struct ParseResult
{
bool badData = false;
Nullable!(SysTime) shortcutResult;
Nullable!(TimeOfDay) shortcutTimeResult;
string tzname;
Nullable!(int, int.min) year;
Nullable!(int, int.min) month;
Nullable!(int, int.min) day;
Expand All @@ -45,7 +47,5 @@ struct ParseResult
Nullable!(int, int.min) tzoffset;
Nullable!(int, int.min) ampm;
bool centurySpecified;
string tzname;
Nullable!(SysTime) shortcutResult;
Nullable!(TimeOfDay) shortcutTimeResult;
}
bool badData = false;
}

0 comments on commit c0d7d71

Please sign in to comment.