performance 2,537

  1. Why is it faster to process a sorted array than an unsorted array?
  2. Which “href” value should I use for JavaScript links, “#” or “javascript:void(0)”?
  3. Why is the Android emulator so slow? How can we speed up the Android emulator?
  4. What is the difference between call and apply?
  5. Improve INSERT-per-second performance of SQLite?
  6. Why is printing “B” dramatically slower than printing “#”?
  7. Why are elementwise additions much faster in separate loops than in a combined loop?

  8. How does database indexing work?
  9. Is < faster than <=?
  10. Why does changing 0.1f to 0 slow down performance by 10x?
  11. Why is “1000000000000000 in range(1000000000000001)” so fast in Python 3?
  12. How can you speed up Eclipse?
  13. How to efficiently count the number of keys/properties of an object in JavaScript?
  14. Python string formatting: % vs. .format
  15. \d is less efficient than
  16. Replacing a 32-bit loop count variable with 64-bit introduces crazy performance deviations
  17. How can you profile a script?
  18. Is the recommendation to include CSS before JavaScript invalid?
  19. Swift performance: sorting arrays
  20. MyISAM versus InnoDB
  21. Big O, how do you calculate/approximate it?
  22. What do Clustered and Non clustered index actually mean?
  23. StringBuilder vs String concatenation in toString() in Java
  24. When should I use Cross Apply over Inner Join?
  25. Why is this C++ code faster than my hand-written assembly for testing the Collatz conjecture?
  26. Why does Python code run faster in a function?
  27. Why is my program slow when looping over exactly 8192 elements?
  28. Efficiency of Java “Double Brace Initialization”?
  29. How to read a large text file line by line using Java?
  30. How to 'insert if not exists' in MySQL?
  31. What is a “cache-friendly” code?
  32. Count(*) vs Count(1) - SQL Server
  33. Why shouldn't I use PyPy over CPython if PyPy is 6.3 times faster?
  34. Speed comparison with Project Euler: C vs Python vs Erlang vs Haskell
  35. Measure time elapsed in Python?
  36. When to use CouchDB over MongoDB and vice versa
  37. Why is [] faster than list()?
  38. Which Python memory profiler is recommended?
  39. Performance optimization strategies of last resort
  40. Get a new object instance from a Type
  41. Which is faster: while(1) or while(2)?
  42. Preferred method to store PHP arrays (json_encode vs serialize)
  43. Which method performs better: .Any() vs .Count() > 0?
  44. Fastest way to check if a value exist in a list
  45. Get difference between two lists
  46. Why does C++ compilation take so long?
  47. Which is faster: Stack allocation or Heap allocation
  48. What statistics should a programmer (or computer scientist) know?
  49. Is DateTime.Now the best way to measure a function's performance?
  50. How can I determine whether a 2D Point is within a Polygon?