notes.txt 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. notes:
  2. reference:
  3. Run with 100 words, 1000 iterations and overhead of 2
  4. 62 - concatOnce
  5. 73 - joinExisting
  6. 241 - plusForAlias
  7. 261 - plusFor
  8. 360 - concatFor
  9. 391 - joinForAlias
  10. 398 - concatForAlias
  11. 408 - joinFor
  12. 636 - plusForEach
  13. 763 - concatForEach
  14. 851 - joinForEach
  15. 4188 - builderReusedFor
  16. 4319 - builderFor
  17. 5155 - builderForEach
  18. switch to for loop in append and ditch arraylike for array(r9607)
  19. Run with 100 words, 1000 iterations and overhead of 3
  20. 62 - concatOnce
  21. 72 - joinExisting
  22. 235 - concatForAlias
  23. 242 - plusForAlias
  24. 263 - plusFor
  25. 361 - concatFor
  26. 394 - joinForAlias
  27. 414 - joinFor
  28. 635 - plusForEach
  29. 757 - concatForEach
  30. 855 - joinForEach
  31. 2005 - builderReusedFor
  32. 2073 - builderFor
  33. 2830 - builderForEach
  34. inline append for array, remove string check
  35. Run with 100 words, 1000 iterations and overhead of 4
  36. 55 - concatOnce
  37. 75 - joinExisting
  38. 243 - plusForAlias
  39. 263 - plusFor
  40. 363 - concatFor
  41. 382 - concatForAlias
  42. 398 - joinForAlias
  43. 410 - joinFor
  44. 629 - plusForEach
  45. 754 - concatForEach
  46. 857 - joinForEach
  47. 1854 - builderReusedFor
  48. 1922 - builderFor
  49. 2714 - builderForEach
  50. add string check back in using typeof
  51. Run with 100 words, 1000 iterations and overhead of 3
  52. 63 - concatOnce
  53. 72 - joinExisting
  54. 242 - plusForAlias
  55. 262 - plusFor
  56. 363 - concatFor
  57. 381 - concatForAlias
  58. 394 - joinForAlias
  59. 410 - joinFor
  60. 633 - plusForEach
  61. 773 - concatForEach
  62. 862 - joinForEach
  63. 1870 - builderReusedFor
  64. 1937 - builderFor
  65. 2702 - builderForEach
  66. first cut less complex isArray
  67. Run with 100 words, 1000 iterations and overhead of 3
  68. 63 - concatOnce
  69. 73 - joinExisting
  70. 184 - plusFor
  71. 251 - plusForAlias
  72. 282 - concatFor
  73. 381 - concatForAlias
  74. 395 - joinForAlias
  75. 412 - joinFor
  76. 629 - plusForEach
  77. 770 - concatForEach
  78. 851 - joinForEach
  79. 2027 - builderReusedFor
  80. 2129 - builderFor
  81. 2898 - builderForEach
  82. switch to typeof for array, put string check back in using typeof (r9610)
  83. Run with 100 words, 1000 iterations and overhead of 2
  84. 63 - concatOnce
  85. 77 - joinExisting
  86. 251 - plusForAlias
  87. 272 - plusFor
  88. 282 - concatFor
  89. 364 - concatForAlias
  90. 404 - joinForAlias
  91. 415 - joinFor
  92. 630 - plusForEach
  93. 766 - concatForEach
  94. 850 - joinForEach
  95. 1274 - builderReusedFor
  96. 1510 - builderFor
  97. 2108 - builderForEach
  98. remove arguments-style array support. only support an explicit array.
  99. Run with 100 words, 1000 iterations and overhead of 2
  100. 63 - concatOnce
  101. 75 - joinExisting
  102. 186 - plusFor
  103. 207 - builderReusedOnce
  104. 255 - plusForAlias
  105. 283 - concatFor
  106. 306 - builderOnce
  107. 367 - concatForAlias
  108. 408 - joinForAlias
  109. 419 - joinFor
  110. 639 - plusForEach
  111. 767 - concatForEach
  112. 817 - builderReusedFor
  113. 865 - joinForEach
  114. 975 - builderFor
  115. 1562 - builderForEach
  116. just running for tests
  117. Run with 100 words, 1000 iterations and overhead of 3
  118. 63 - concatOnce
  119. 203 - plusFor
  120. 204 - builderReusedOnce
  121. 303 - builderOnce
  122. 330 - joinFor
  123. 385 - concatFor
  124. 748 - builderFor
  125. 748 - builderReusedFor
  126. remove array support in append
  127. Run with 1000 words, 1000 iterations and overhead of 2
  128. 382 - concatOnce
  129. 1951 - plusFor
  130. 2779 - builderFor
  131. 2883 - builderReusedFor
  132. 3038 - concatFor
  133. 3549 - joinFor
  134. add in appendArray support to match once, use += for append
  135. Run with 1000 words, 1000 iterations and overhead of 3
  136. 379 - concatOnce
  137. 381 - builderReusedOnce
  138. 393 - builderOnce
  139. 2022 - plusFor
  140. 2862 - builderFor
  141. 2973 - builderReusedFor
  142. 3128 - concatFor
  143. 3548 - joinFor