1. 13 May, 2022 1 commit
  2. 10 Jun, 2021 1 commit
  3. 30 Apr, 2021 1 commit
  4. 17 Nov, 2020 1 commit
  5. 06 Nov, 2020 1 commit
  6. 26 Oct, 2020 1 commit
  7. 16 Jul, 2020 2 commits
  8. 15 Jul, 2020 2 commits
  9. 01 Apr, 2019 1 commit
  10. 13 Jul, 2017 1 commit
  11. 10 Feb, 2017 1 commit
  12. 24 Nov, 2016 1 commit
  13. 14 Nov, 2016 1 commit
  14. 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
  15. 30 Sep, 2016 1 commit
  16. 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
  17. 22 Sep, 2016 1 commit
  18. 20 Sep, 2016 3 commits
  19. 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
  20. 29 Jun, 2016 1 commit
  21. 28 Jun, 2016 2 commits
  22. 20 Jun, 2016 1 commit
  23. 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
  24. 08 Jun, 2016 1 commit
  25. 07 Jun, 2016 1 commit
  26. 30 Sep, 2015 1 commit
  27. 08 Aug, 2015 1 commit
  28. 13 Apr, 2015 1 commit
  29. 02 Sep, 2014 1 commit
  30. 04 Aug, 2014 1 commit
  31. 30 Jun, 2014 1 commit
  32. 03 Jun, 2014 1 commit
  33. 29 Apr, 2014 1 commit
  34. 15 Apr, 2014 1 commit