Skip to content

Conversation

@cquiroz
Copy link
Owner

@cquiroz cquiroz commented Mar 5, 2020

Some more size reductions. This gives me about 2.5% less final size on my demo

cquiroz added 2 commits March 6, 2020 08:50
Signed-off-by: Carlos Quiroz <carlos.m.quiroz@gmail.com>
Signed-off-by: Carlos Quiroz <carlos.m.quiroz@gmail.com>
@cquiroz
Copy link
Owner Author

cquiroz commented Mar 6, 2020

So this gives a little improvement on size but I'm a bit hesitant to change the lazy val to def. I'll leave this PR open but won't include it in the next release

field.range
else if (field.isInstanceOf[ChronoField])
throw new UnsupportedTemporalTypeException(s"Unsupported field: $field")
throw throw UnsupportedTemporalTypeException.field(field)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these throw throw intended ?

@cquiroz
Copy link
Owner Author

cquiroz commented Mar 13, 2020

I'm going to close this. The size gains are very small and imply API changes, probably not worth it

@cquiroz cquiroz closed this Mar 13, 2020
@cquiroz cquiroz deleted the valdef branch March 13, 2020 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants