SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

ghc-hashtables rpm build for : OpenSuSE. For other distributions click ghc-hashtables.

Name : ghc-hashtables
Version : 1.3.1 Vendor : openSUSE
Release : 1.19 Date : 2023-03-30 19:06:56
Group : Unspecified Source RPM : ghc-hashtables-1.3.1-1.19.src.rpm
Size : 0.44 MB
Packager : https://bugs_opensuse_org
Summary : Mutable hash tables in the ST monad
Description :
This package provides a couple of different implementations of mutable hash
tables in the ST monad, as well as a typeclass abstracting their common
operations, and a set of wrappers to use the hash tables in the IO monad.

/QUICK START/: documentation for the hash table operations is provided in the
\"Data.HashTable.Class\" module, and the IO wrappers (which most users will
probably prefer) are located in the \"Data.HashTable.IO\" module.

This package currently contains three hash table implementations:

1. \"Data.HashTable.ST.Cuckoo\" contains an implementation of \"cuckoo hashing\" as
introduced by Pagh and Rodler in 2001 (see
< http://en.wikipedia.org/wiki/Cuckoo_hashing>). Cuckoo hashing has worst-case
/O(1)/ lookups and can reach a high \"load factor\", in which the table can
perform acceptably well even when approaching 90% full. Randomized testing
shows this implementation of cuckoo hashing to be slightly faster on insert and
slightly slower on lookup than \"Data.Hashtable.ST.Basic\", while being more
space efficient by about a half-word per key-value mapping. Cuckoo hashing,
like the basic hash table implementation using linear probing, can suffer from
long delays when the table is resized.

2. \"Data.HashTable.ST.Basic\" contains a basic open-addressing hash table using
linear probing as the collision strategy. On a pure speed basis it should
currently be the fastest available Haskell hash table implementation for
lookups, although it has a higher memory overhead than the other tables and can
suffer from long delays when the table is resized because all of the elements
in the table need to be rehashed.

3. \"Data.HashTable.ST.Linear\" contains a linear hash table (see
< http://en.wikipedia.org/wiki/Linear_hashing>), which trades some insert and
lookup performance for higher space efficiency and much shorter delays when
expanding the table. In most cases, benchmarks show this table to be currently
slightly faster than \'Data.HashTable\' from the Haskell base library.

It is recommended to create a concrete type alias in your code when using this
package, i.e.:

> import qualified Data.HashTable.IO as H > > type HashTable k v =
H.BasicHashTable k v > > foo :: IO (HashTable Int Int) > foo = do > ht < - H.new
> H.insert ht 1 1 > return ht

Firstly, this makes it easy to switch to a different hash table implementation,
and secondly, using a concrete type rather than leaving your functions abstract
in the HashTable class should allow GHC to optimize away the typeclass
dictionaries.

This package accepts a couple of different cabal flags:

* \'unsafe-tricks\', default /ON/. If this flag is enabled, we use some unsafe
GHC-specific tricks to save indirections (namely \'unsafeCoerce#\' and
\'reallyUnsafePtrEquality#\'. These techniques rely on assumptions about the
behaviour of the GHC runtime system and, although they\'ve been tested and
should be safe under normal conditions, are slightly dangerous. Caveat emptor.
In particular, these techniques are incompatible with HPC code coverage
reports.

* \'sse42\', default /OFF/. If this flag is enabled, we use some SSE 4.2
instructions (see < http://en.wikipedia.org/wiki/SSE4>, first available on Intel
Core 2 processors) to speed up cache-line searches for cuckoo hashing.

* \'bounds-checking\', default /OFF/. If this flag is enabled, array accesses are
bounds-checked.

* \'debug\', default /OFF/. If turned on, we\'ll rudely spew debug output to
stdout.

* \'portable\', default /OFF/. If this flag is enabled, we use only pure Haskell
code and try not to use unportable GHC extensions. Turning this flag on forces
\'unsafe-tricks\' and \'sse42\' /OFF/.

Please send bug reports to
< https://github.com/gregorycollins/hashtables/issues>.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/openSUSE:/ALP:/Experimental:/Slowroll/base.20240429/repo/oss/x86_64

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  ghc-hashtables-1.3.1-1.19.x86_64.rpm
     

Provides :
ghc-hashtables
ghc-hashtables(x86-64)
libHShashtables-1.3.1-G1kWtv5H9sQbkpSCT9wfb-ghc9.8.2.so()(64bit)

Requires :
libHSarray-0.5.6.0-b200-ghc9.8.2.so()(64bit)
libHSbase-4.19.1.0-4816-ghc9.8.2.so()(64bit)
libHSbinary-0.8.9.1-6b92-ghc9.8.2.so()(64bit)
libHSbytestring-0.12.1.0-a393-ghc9.8.2.so()(64bit)
libHScontainers-0.6.8-8e78-ghc9.8.2.so()(64bit)
libHSdeepseq-1.5.0.0-495d-ghc9.8.2.so()(64bit)
libHSexceptions-0.10.7-f507-ghc9.8.2.so()(64bit)
libHSfilepath-1.4.200.1-cd50-ghc9.8.2.so()(64bit)
libHSghc-bignum-1.3-45cf-ghc9.8.2.so()(64bit)
libHSghc-boot-th-9.8.2-61d3-ghc9.8.2.so()(64bit)
libHSghc-prim-0.11.0-0a47-ghc9.8.2.so()(64bit)
libHShashable-1.4.3.0-2G7GXQmRKlQ8Bk2d3jfHRN-ghc9.8.2.so()(64bit)
libHSmtl-2.3.1-9a75-ghc9.8.2.so()(64bit)
libHSpretty-1.1.3.6-f9f0-ghc9.8.2.so()(64bit)
libHSprimitive-0.9.0.0-3xDiG4xmvzAPpo2fmSS2J-ghc9.8.2.so()(64bit)
libHSstm-2.5.2.1-28f0-ghc9.8.2.so()(64bit)
libHStemplate-haskell-2.21.0.0-8f33-ghc9.8.2.so()(64bit)
libHStext-2.1.1-28fe-ghc9.8.2.so()(64bit)
libHStransformers-0.6.1.0-c6b5-ghc9.8.2.so()(64bit)
libHSvector-0.13.1.0-KsI9YW0GZzC4MTSbCkYhas-ghc9.8.2.so()(64bit)
libHSvector-stream-0.1.0.1-3kemkf3sEYo7HEPagmetX7-ghc9.8.2.so()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libgmp.so.10()(64bit)
libm.so.6()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib64/ghc-9.8.2/lib/libHShashtables-1.3.1-G1kWtv5H9sQbkpSCT9wfb-ghc9.8.2.so
/usr/share/licenses/ghc-hashtables
/usr/share/licenses/ghc-hashtables/LICENSE

 
ICM