Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

A Java-based solution #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

A Java-based solution #2

wants to merge 1 commit into from

Conversation

erikjogi
Copy link

If the numbers would come in a contiguous stream without any other characters then an extra flush is necessary to avoid an OutOfMemoryError. One option would be to flush the first 16 digits from the buffer when 31 digits are read.

youngnh pushed a commit to youngnh/luhnybin that referenced this pull request Nov 16, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant