Reading file and validate data issue
882656Aug 16 2011 — edited Aug 16 2011Hey all !
I'm developing an application where I get info from a file and I have to validate the data. What I want is to improve performance. Now I'm thinking about using a PRODUCER-CONSUMER approach to improve performance, having 1 thread reading data from file and having 1 thread validating data.
What do you think? Is there a better approach on this kind of problem?
Thanks in advance :D