[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: gnu: Add sparsehash.
From: |
Ricardo Wurmus |
Subject: |
02/08: gnu: Add sparsehash. |
Date: |
Mon, 30 Nov 2015 13:45:48 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit b0cf606f756416f6e1323fb2c7bd38989ad2f2bd
Author: Ricardo Wurmus <address@hidden>
Date: Tue Nov 10 15:41:04 2015 +0100
gnu: Add sparsehash.
* gnu/packages/crypto.scm (sparsehash): New variable.
---
gnu/packages/crypto.scm | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index d3dbd28..08af95f 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 David Thompson <address@hidden>
+;;; Copyright © 2015 Ricardo Wurmus <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -42,3 +43,28 @@
communication, encryption, decryption, signatures, etc.")
(license isc)
(home-page "http://libsodium.org")))
+
+(define-public sparsehash
+ (package
+ (name "sparsehash")
+ (version "2.0.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/sparsehash/sparsehash/"
+ "archive/sparsehash-" version ".tar.gz"))
+ (sha256
+ (base32
+ "133szz0ldwch0kd91l0sa57qsnl020njn622szd9cxrjqyjqds85"))))
+ (build-system gnu-build-system)
+ (synopsis "Memory-efficient hashtable implementations")
+ (description
+ "This library contains several hash-map implementations, similar in API
+to SGI's @code{hash_map} class, but with different performance
+characteristics. @code{sparse_hash_map} uses very little space overhead, 1-2
+bits per entry. @code{dense_hash_map} is very fast, particulary on lookup.
address@hidden and @code{dense_hash_set} are the set versions of these
+routines. All these implementation use a hashtable with internal quadratic
+probing. This method is space-efficient -- there is no pointer overhead --
+and time-efficient for good hash functions.")
+ (home-page "https://github.com/sparsehash/sparsehash")
+ (license bsd-3)))
- branch master updated (dbd3a91 -> 70b002a), Ricardo Wurmus, 2015/11/30
- 01/08: gnu: Add cereal., Ricardo Wurmus, 2015/11/30
- 02/08: gnu: Add sparsehash.,
Ricardo Wurmus <=
- 03/08: gnu: Add ruby-simplecov., Ricardo Wurmus, 2015/11/30
- 05/08: gnu: Add ruby-ci-reporter., Ricardo Wurmus, 2015/11/30
- 06/08: gnu: Add ruby-pry-editline., Ricardo Wurmus, 2015/11/30
- 04/08: gnu: Add ruby-atoulme-saikuro., Ricardo Wurmus, 2015/11/30
- 07/08: gnu: Add ruby-sdoc., Ricardo Wurmus, 2015/11/30
- 08/08: gnu: Add ruby-tins., Ricardo Wurmus, 2015/11/30