Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Am I wrong in thinking that this is duplicating lines in memory repeatedly when buffering lines into batches, and then submitting batches to threads? And then again when calling the line processor? Seems like it might be a memory hog


Since most things in Java are handled by reference, including Strings there should be not that much memory overhead. From a quick look I could not find any actual line duplication.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: