Make conversions toThrift, toClass methods into lazy vals #171

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@franklinhu
Contributor

Since the objects passed in are immutable, we can make the
.toThrift and .toClassName methods into lazy vals to avoid
additional overhead from repeated calls

Franklin Hu Make conversions toThrift, toClass methods into lazy vals
Since the objects passed in are immutable, we can make the
.toThrift and .toClassName methods into lazy vals to avoid any
additional overhead from repeated calls
9aedbf5
Contributor

+1

@franklinhu franklinhu pushed a commit that closed this pull request Oct 3, 2012
Franklin Hu Make conversions toThrift, toClass methods into lazy vals
Since the objects passed in are immutable, we can make the .toThrift and
.toClassName methods into lazy vals to avoid additional overhead from
repeated calls

Author: @franklinhu
Fixes #171
URL: #171
30d9645
@franklinhu franklinhu closed this in 30d9645 Oct 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment