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

A Java-based solution - #2

Open
erikjogi wants to merge 1 commit into
square:masterfrom
erikjogi:master
Open

A Java-based solution#2
erikjogi wants to merge 1 commit into
square:masterfrom
erikjogi:master

Conversation

@erikjogi

Copy link
Copy Markdown

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