Tag: performance

22252 Why is it faster to process a sorted array than an unsorted array? 2012-06-27T13:51:36.160

3744 Which "href" value should I use for JavaScript links, "#" or "javascript:void(0)"? 2008-09-25T17:54:27.140

3173 Why is the Android emulator so slow? How can we speed up the Android emulator? 2009-10-12T11:45:53.907

2806 What is the difference between call and apply? 2009-12-31T19:56:25.510

2657 Improve INSERT-per-second performance of SQLite? 2009-11-10T22:16:43.493

2484 Why is printing "B" dramatically slower than printing "#"? 2014-02-21T23:45:43.777

2051 Why are elementwise additions much faster in separate loops than in a combined loop? 2011-12-17T20:40:52.030

2018 How does database indexing work? 2008-08-04T10:07:12.673

1499 Why is "1000000000000000 in range(1000000000000001)" so fast in Python 3? 2015-05-06T15:32:43.060

1415 Is < faster than <=? 2012-08-27T02:10:12.910

1392 Why does changing 0.1f to 0 slow down performance by 10x? 2012-02-16T15:58:39.667

1256 How to efficiently count the number of keys/properties of an object in JavaScript? 2008-09-24T08:56:21.263

1221 Replacing a 32-bit loop counter with 64-bit introduces crazy performance deviations 2014-08-01T10:33:29.093

1208 Python string formatting: % vs. .format 2011-02-22T18:46:42.453

1198 How can you speed up Eclipse? 2008-11-25T03:18:56.627

1160 \d is less efficient than [0-9] 2013-05-18T07:18:40.740

1029 How can you profile a script? 2009-02-24T16:01:26.610

865 Swift Beta performance: sorting arrays 2014-06-07T23:53:45.487

863 What do Clustered and Non clustered index actually mean? 2009-08-09T15:59:41.927

843 Is the recommendation to include CSS before JavaScript invalid? 2012-02-14T03:24:54.340

825 MyISAM versus InnoDB 2008-08-21T14:50:52.780

809 StringBuilder vs String concatenation in toString() in Java 2009-10-07T15:44:08.690

803 Big O, how do you calculate/approximate it? 2008-08-06T10:18:16.067

795 When should I use Cross Apply over Inner Join? 2009-07-16T17:42:21.513

753 C++ code for testing the Collatz conjecture faster than hand-written assembly - why? 2016-11-01T06:12:06.097

752 Why does Python code run faster in a function? 2012-06-28T09:18:34.850

730 Measure time elapsed in Python? 2011-09-10T09:21:02.390

723 How to read a large text file line by line using Java? 2011-05-03T10:53:24.113

711 Efficiency of Java "Double Brace Initialization"? 2009-05-29T03:40:13.207

708 Why is my program slow when looping over exactly 8192 elements? 2012-09-04T13:51:31.017

701 How to 'insert if not exists' in MySQL? 2009-09-01T08:56:41.863

639 Count(*) vs Count(1) - SQL Server 2009-08-03T10:15:10.700

638 What is a "cache-friendly" code? 2013-05-22T18:37:01.940

616 Why shouldn't I use PyPy over CPython if PyPy is 6.3 times faster? 2013-09-22T17:24:13.663

613 Why is [] faster than list()? 2015-05-13T13:16:22.850

611 Speed comparison with Project Euler: C vs Python vs Erlang vs Haskell 2011-08-06T02:34:14.747

602 Which Python memory profiler is recommended? 2008-09-21T04:43:04.737

596 Get a new object instance from a Type 2008-08-03T16:29:03.607

594 When to use CouchDB over MongoDB and vice versa 2012-09-15T13:32:19.850

591 Why is 2 * (i * i) faster than 2 * i * i in Java? 2018-11-23T20:40:10.073

577 Performance optimization strategies of last resort 2009-05-29T14:26:59.977

568 Fastest way to check if a value exist in a list 2011-09-27T15:23:26.843

566 Which is faster: while(1) or while(2)? 2014-07-20T07:32:49.683

564 Get difference between two lists 2010-08-11T19:38:10.443

562 Preferred method to store PHP arrays (json_encode vs serialize) 2009-04-29T20:09:43.560

510 Which method performs better: .Any() vs .Count() > 0? 2008-11-20T12:11:19.003

471 Why does C++ compilation take so long? 2008-11-25T18:25:14.347

462 Which is faster: Stack allocation or Heap allocation 2008-10-02T06:06:28.067

455 Comparing two byte arrays in .NET 2008-09-04T07:33:25.387

442 Is DateTime.Now the best way to measure a function's performance? 2008-08-26T17:09:45.417

439 How can I determine whether a 2D Point is within a Polygon? 2008-10-20T05:20:49.487

438 Is it better to call ToList() or ToArray() in LINQ queries? 2009-07-09T19:28:55.387

420 How slow are Java exceptions? 2008-11-18T15:31:11.207

420 When is assembly faster than C? 2009-02-23T13:03:26.950

401 Is there a performance difference between i++ and ++i in C? 2008-08-24T06:48:23.243

399 Convert Set to List without creating new List 2012-01-17T09:40:05.053

394 Why does GCC generate 15-20% faster code if I optimize for size instead of speed? 2013-10-19T20:36:16.310

393 How to identify unused css definitions 2008-09-25T20:03:21.667

388 Efficiency of purely functional programming 2010-01-02T03:02:10.510

378 What is the best way to paginate results in SQL Server 2008-09-20T20:16:18.633

375 What's the best way to convert a number to a string in JavaScript? 2011-04-23T16:25:32.643

374 What is the runtime performance cost of a Docker container? 2014-02-19T18:19:45.670

367 Fastest way to determine if an integer is between two integers (inclusive) with known sets of values 2013-06-13T19:21:42.930

365 Is Fortran easier to optimize than C for heavy calculations? 2008-09-28T16:02:52.707

361 Why is (a*b != 0) faster than (a != 0 && b != 0) in Java? 2016-02-21T01:51:17.073

359 Best way to reverse a string 2008-10-23T00:31:32.673

355 Static linking vs dynamic linking 2010-01-03T00:06:12.597

349 Make first letter of a string upper case (with maximum performance) 2010-11-09T15:24:08.267

347 HTTP vs HTTPS performance 2008-09-29T15:44:41.963

328 HashSet vs. List performance 2008-09-29T21:24:15.297

323 When and why are database joins expensive? 2008-10-06T09:52:19.473

317 Array or List in Java. Which is faster? 2009-04-04T05:57:28.337

314 Why does the order of the loops affect performance when iterating over a 2D array? 2012-03-30T02:17:32.553

312 How do I obtain a Query Execution Plan? 2011-09-09T09:37:21.923

309 Is there any advantage of using map over unordered_map in case of trivial keys? 2010-02-04T02:37:43.380

309 Handling warning for possible multiple enumeration of IEnumerable 2011-11-23T10:47:54.797

307 Is "else if" faster than "switch() case"? 2009-04-20T11:07:15.247

307 Performance surprise with "as" and nullable types 2009-10-17T19:48:57.297

307 When to use StringBuilder in Java 2011-01-10T08:52:30.840

304 Is there a performance difference between i++ and ++i in C++? 2008-08-24T07:14:22.243

298 What are the performance characteristics of sqlite with very large database files? 2009-04-24T01:09:33.047

295 Difference between declaring variables before or in loop? 2009-01-02T16:06:40.397

291 Is a view faster than a simple query? 2009-01-13T14:09:03.133

289 In .NET, which loop runs faster, 'for' or 'foreach'? 2008-12-13T19:45:42.947

289 List of Big-O for PHP functions 2010-03-18T23:12:32.017

288 What is the fastest way to get the value of π? 2008-08-01T05:21:22.257

287 Declaring Multiple Variables in JavaScript 2009-03-29T04:37:25.027

281 Why are some float < integer comparisons four times slower than others? 2015-05-07T12:11:08.723

279 Best way to test if a row exists in a MySQL table 2009-11-04T20:55:47.683

278 MySQL vs MongoDB 1000 reads 2012-03-14T13:09:43.603

277 The performance impact of using instanceof in Java 2008-09-19T16:41:12.310

272 How do you performance test JavaScript code? 2008-09-21T16:35:58.437

270 Isn't it silly that a tiny favicon requires yet another HTTP request? How to make favicon go into a sprite? 2011-03-04T22:17:52.600

266 How many threads is too many? 2009-01-27T00:46:06.237

266 Why is 'x' in ('x',) faster than 'x' == 'x'? 2015-03-05T18:29:58.367

265 Performance differences between debug and release builds 2010-10-28T14:23:56.027

264 String vs string in C# 2008-10-18T16:47:26.087

264 Extreme wait-time when taking a SQL Server database offline 2009-04-30T17:53:15.423

264 Exact time measurement for performance testing 2009-06-09T10:37:33.230