Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualsolewalker

Posted 18 May 2013 - 07:11 AM

I just ran the code to see what the results are in my machine, I am using mingw with gcc 4.7.1,

 

Debug mode :

                     Inserted rectangles in vector in: 0.072

                     Inserted rectangles in list in: 0.058

                    Time for sorting a vector: 0.53

                    Time for sorting a list: 0.916

Release Mode:

                    Inserted rectangles in vector in: 0.056

                    Inserted rectangles in list in: 0.016

                   Time for sorting a vector: 0.234

                   Time for sorting a list: 0.415

 

So, not much of a difference in my machine though


#1solewalker

Posted 18 May 2013 - 12:02 AM

I just ran the code to see what the results are in my machine, I am using mingw with gcc 4.7.1, Debug mode : Inserted rectangles in vector in: 0.072 Inserted rectangles in list in: 0.058 Time for sorting a vector: 0.53 Time for sorting a list: 0.916 Release Mode: Inserted rectangles in vector in: 0.056 Inserted rectangles in list in: 0.016 Time for sorting a vector: 0.234 Time for sorting a list: 0.415 So, not much of a difference in my machine though

PARTNERS