You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 40c7325
Browse filesBrowse the repository at this point in the historyBrowse files
Updated LZ complexity estimation with speed bump and integer typing
- The function entropy.lziv_complexity now converts all valid input
types to arrays of type np.uint32 for fast computation with Numba.
- For strings and list of strings, utf-8 numeric representations
are used for integer arrays using built-in ord
- Normalization uses np.bincount instead of set on numpy arrays,
significant speedup on large arrays. A major reason for
using 32-bit and not 64-bint uints as np.bincount can't work with
uint64 safely. Several open issues about this:
numpy/numpy#17760numpy/numpy#823numpy/numpy#4384
0 commit comments