1. 01 Apr, 2019 1 commit
  2. 13 Jul, 2017 1 commit
  3. 10 Feb, 2017 1 commit
  4. 24 Nov, 2016 1 commit
  5. 14 Nov, 2016 1 commit
  6. 03 Oct, 2016 1 commit
    • leszeks's avatar
      [base] Optimise hashmaps with simple key equality · 306f8311
      leszeks authored
      Hashmaps with a simple key equality method (comparing pointers) don't
      need to waste cycles (and branches) comparing hash values, as the key
      comparison is cheap.
      
      This patch modifies the hashmap's MatchFun to take the hashes as well as
      the keys, thus allowing the MatchFun to ignore the hashes. This allows
      slightly cleaner generated code, especially when the MatchFun is
      inlined.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2381303002
      Cr-Commit-Position: refs/heads/master@{#39932}
      306f8311
  7. 30 Sep, 2016 1 commit
  8. 29 Sep, 2016 2 commits
    • leszeks's avatar
      [interpreter] Use hashmap for ConstantArrayBuilder's constant map · 0134ddae
      leszeks authored
      Uses the base hashmap to store the ConstantArrayBuilder's constant map,
      which slightly improves the performance of ConstantArrayBuilder::Insert.
      
      Includes a small overload of the hashmap LookupOrInsert method, which
      allows passing in a value creation function instead of just default
      initialising new values.
      
      On Octane's codeload, this gives (on my machine) a 0.27% improvement,
      which doesn't sound like a lot but I guess every little helps.
      
      Review-Url: https://codereview.chromium.org/2336553002
      Cr-Commit-Position: refs/heads/master@{#39883}
      0134ddae
    • leszeks's avatar
      [base] Template MatchFun in TemplateHashMapImpl · 837c91e8
      leszeks authored
      Make MatchFun a template parameter in TemplateHashMapImpl, moving the
      PointersMatch function down to an implementation which extends
      TemplateHashMapImpl to void* key and value (i.e. the same as the current
      HashMap and ZoneHashMap typedefs).
      
      This will allow other instantiations of TemplateHashMapImpl, with
      different MatchFun values, e.g. std::equal_to, to have their key
      equality test inlined, rather than calling a function pointer,
      
      Review-Url: https://codereview.chromium.org/2354593002
      Cr-Commit-Position: refs/heads/master@{#39868}
      837c91e8
  9. 22 Sep, 2016 1 commit
  10. 20 Sep, 2016 3 commits
  11. 23 Aug, 2016 1 commit
    • verwaest's avatar
      Keep track of the addition order of variables explicitly. · 6ea8b4f2
      verwaest authored
      This avoids needing to allocate a zonelist on the fly later, sorting variables_, for which we also need to keep track of order in the hashmap.
      
      In a later phase we can make sure that Variable is always uniquely in either of params_, temps_ and ordered_variables_. In that case we can use a linked list through Variable.
      
      BUG=v8:5209
      
      Review-Url: https://codereview.chromium.org/2264053003
      Cr-Commit-Position: refs/heads/master@{#38810}
      6ea8b4f2
  12. 29 Jun, 2016 1 commit
  13. 28 Jun, 2016 2 commits
  14. 20 Jun, 2016 1 commit
  15. 09 Jun, 2016 1 commit
    • lpy's avatar
      Move hashmap into src/base. · 2fd55667
      lpy authored
      We ported hashmap.h into libsampler as a workaround before, so the main focus of
      this patch is to reduce code duplication. This patch moves the hashmap into
      src/base as well as creates DefaultAllocationPolicy using malloc and free.
      
      BUG=v8:5050
      LOG=n
      
      Review-Url: https://codereview.chromium.org/2010243003
      Cr-Commit-Position: refs/heads/master@{#36873}
      2fd55667
  16. 08 Jun, 2016 1 commit
  17. 07 Jun, 2016 1 commit
  18. 30 Sep, 2015 1 commit
  19. 08 Aug, 2015 1 commit
  20. 13 Apr, 2015 1 commit
  21. 02 Sep, 2014 1 commit
  22. 04 Aug, 2014 1 commit
  23. 30 Jun, 2014 1 commit
  24. 03 Jun, 2014 1 commit
  25. 29 Apr, 2014 1 commit
  26. 15 Apr, 2014 1 commit
  27. 23 Aug, 2012 1 commit
  28. 11 Jun, 2012 1 commit
  29. 04 Jun, 2012 1 commit
  30. 11 Apr, 2012 1 commit
  31. 15 Mar, 2012 2 commits
  32. 23 Feb, 2012 2 commits
  33. 18 Nov, 2011 1 commit
  34. 02 Nov, 2011 1 commit