update to the_silver_searcher-0.18.1, from maintainer Florian Stinglmayr
also update DESCR to add some information from upstream about why it's fast, ok with Florian. * Searching for literals (no regex) uses Boyer-Moore-Horspool strstr. * Files are mmap()ed instead of read into a buffer. * Regex searches use PCRE 8.21+'s JIT compiler. * Ag calls pcre_study() before executing the regex on a jillion files. * Instead of calling fnmatch() on every pattern in your ignore files, non-regex patterns are loaded into an array and binary searched. * Ag uses Pthreads to take advantage of multiple CPU cores and search files in parallel.
This commit is contained in:
parent
a11a8cbcf3
commit
36c316f56f
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2013/09/30 17:17:36 bcallah Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2013/11/06 21:56:49 sthen Exp $
|
||||
|
||||
COMMENT = code searching tool, with a focus on speed (ag)
|
||||
|
||||
DISTNAME = the_silver_searcher-0.17
|
||||
REVISION = 0
|
||||
DISTNAME = the_silver_searcher-0.18.1
|
||||
CATEGORIES = textproc
|
||||
|
||||
HOMEPAGE = https://github.com/ggreer/the_silver_searcher
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (the_silver_searcher-0.17.tar.gz) = y7cugGUTnfMvVnHxIcTUuHuDATpNia134zpHmoHWgUM=
|
||||
SIZE (the_silver_searcher-0.17.tar.gz) = 130524
|
||||
SHA256 (the_silver_searcher-0.18.1.tar.gz) = M8V/z49R3sMAi8maXLJpv4BDmglkJHAnJslsd8MAUDk=
|
||||
SIZE (the_silver_searcher-0.18.1.tar.gz) = 132413
|
||||
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2013/09/30 17:17:36 bcallah Exp $
|
||||
|
||||
# MAINTAINER opened a pull request with upstream for this:
|
||||
# https://github.com/ggreer/the_silver_searcher/pull/272
|
||||
|
||||
--- configure.orig Mon Sep 30 12:13:52 2013
|
||||
+++ configure Mon Sep 30 12:13:57 2013
|
||||
@@ -4655,7 +4655,7 @@ fi
|
||||
done
|
||||
|
||||
|
||||
-for ac_header in pthread.h, zlib.h lzma.h
|
||||
+for ac_header in pthread.h zlib.h lzma.h
|
||||
do :
|
||||
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
||||
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
@ -3,3 +3,12 @@ similar to grep or ack. It performs faster than ack, yet is also aware
|
||||
of ignore files of git and mercurial repositories and does not search
|
||||
files listed in ignore files. It further utilises threads and advanced
|
||||
features of PCRE to further improve performance.
|
||||
|
||||
* Searching for literals (no regex) uses Boyer-Moore-Horspool strstr.
|
||||
* Files are mmap()ed instead of read into a buffer.
|
||||
* Regex searches use PCRE 8.21+'s JIT compiler.
|
||||
* Ag calls pcre_study() before executing the regex on a jillion files.
|
||||
* Instead of calling fnmatch() on every pattern in your ignore files,
|
||||
non-regex patterns are loaded into an array and binary searched.
|
||||
* Ag uses Pthreads to take advantage of multiple CPU cores and search
|
||||
files in parallel.
|
||||
|
Loading…
Reference in New Issue
Block a user