title: C Code slower on Windows than on Linux
body: <p>i'm working on a project that will have builds for Windows and Linux, 32 and 64 bits.
  This project is based on loading strings for a text file, process it and write results to a SQLite3 database.</p>
  
  <p>On linux it reaches almost 400k sequences per second, compiled by GCC without any optimization. However on Windows it stucks in 100k sequences per second, compiled on VS2010 without any optimization.</p>
  
  <p>I tried using optimizations in compilers but nothing changed.</p>
  
  <p>Is this right? C code on Windows runs slower?</p>
  
  <p>EDIT:</p>
  
  <p>I think i need to be more clear on some points.
  I made tests with code optimization enabled AND disabled. Performance didn't changed, probably because my program's bottleneck is the time wasted reading data from HD.</p>
  
  <p>This program takes benefits of parallel computing. There a queue where a thread queues processed data and another dequeue to write in the SQLite database. This way i don't think there is any performance lose from this.</p>