performance 1692

  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. How can you speed up Eclipse?
  12. Why is “1000000000000000 in range(1000000000000001)” so fast in Python 3?
  13. Python string formatting: % vs. .format
  14. How to efficiently count the number of keys/properties of an object in JavaScript?
  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. MyISAM versus InnoDB
  20. Swift performance: sorting arrays
  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. Why is this C++ code faster than my hand-written assembly for testing the Collatz conjecture?
  25. When should I use Cross Apply over Inner Join?
  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 'insert if not exists' in MySQL?
  30. How to read a large text file line by line using Java?
  31. What is “cache-friendly” code?
  32. Count(*) vs Count(1)
  33. Why shouldn't I use PyPy over CPython if PyPy is 6.3 times faster?
  34. When to use CouchDB over MongoDB and vice versa
  35. Speed comparison with Project Euler: C vs Python vs Erlang vs Haskell
  36. Why is [] faster than list()?
  37. Which is faster: while(1) or while(2)?
  38. Performance optimization strategies of last resort
  39. Which Python memory profiler is recommended?
  40. Preferred method to store PHP arrays (json_encode vs serialize)
  41. Get a new object instance from a Type
  42. Measure time elapsed in Python?
  43. Why is using the JavaScript eval function a bad idea?
  44. Which method performs better: .Any() vs .Count() > 0?
  45. Why does C++ compilation take so long?
  46. Which is faster: Stack allocation or Heap allocation
  47. Is DateTime.Now the best way to measure a function's performance?
  48. What statistics should a programmer (or computer scientist) know?
  49. Get difference between two lists
  50. Comparing two byte arrays in .NET