Skip to content
Snippets Groups Projects
  1. Oct 13, 2020
  2. Oct 12, 2020
  3. Oct 10, 2020
  4. Oct 08, 2020
  5. Oct 07, 2020
  6. Oct 03, 2020
  7. Oct 02, 2020
  8. Sep 29, 2020
    • Mike Pall's avatar
      e9af1abe
    • Siddhesh Poyarekar's avatar
      Adjust SSE4.1 str_hash to replace hash_sparse and hash_dense · 5bccde90
      Siddhesh Poyarekar authored
      The new hashing scheme in luajit is more sophisticated, with two
      different hashing functions and a proper multilevel hash to account
      for collisions.  The sparse hash function is expected to be fast and
      the dense hash function is expected to be slower.  Accommodate the
      CRC32 based hash implementation accordingly by splitting it into fast
      and slow functions.
      
      The hash_sparse crc32 implementation avoids using the slow 128 and
      above path so that it can complement the speed requirements.  Based on
      the benchmark it takes about 20% less time to compute hashes compared
      to the upstream hash_sparse.  It regresses in the 64-128 byte range
      and then again gains performance in the 128 byte and larger range.
      
      The hash_dense implementation is consistently faster than the stock
      hash_dense implementation, which scales linearly.  The standard
      deviation reported by the tests are comparable for both sparse and
      dense implementations.
      v2.1-20201001
      5bccde90
    • Siddhesh Poyarekar's avatar
      Make jit.prngstate use the new PRNG code · 7c03b051
      Siddhesh Poyarekar authored
      This change splits out the PRNG so that the PRNG used by the JIT
      compiler can be overridden without affecting the PRNG for the
      allocator.
      
      The API is changed to reflect the wider PRNG data, which is now 256
      bits.  jit.prngstate returns an array with 8 32-bit integers and
      similarly, it can be overridden with an array of up to 8 32-bit
      integers.
      
      Tests and README.md have been updated to reflect this change.
      7c03b051
  9. Sep 28, 2020
  10. Sep 27, 2020
  11. Sep 25, 2020
  12. Sep 22, 2020
  13. Sep 14, 2020
  14. Sep 12, 2020
  15. Sep 05, 2020
Loading