textproc/tgrep: Add port: Trigram-indexed grep for fast regex search in large codebases locally
Trigram-indexed grep with a client/server architecture for fast regex
search in large codebases.
Tools like grep and ripgrep scan every file on every search - O(total
bytes) per query. In a 100k+ file monorepo, that's painfully
slow. tgrep pre-builds a trigram index so searches only touch the
small set of files that could match.
WWW: https://github.com/microsoft/tgrep
[Allocator] Drop RedZoneSize (non-sanitizer) and BytesAllocated members (#205711)
`RedZoneSize` is only read inside `#if LLVM_ADDRESS_SANITIZER_BUILD`.
Additionally gate it under `LLVM_ENABLE_ABI_BREAKING_CHECKS` so that
release-non-assertions builds don't incur the overhead. To support
non-asan build with asan library users, the variable is only omitted in
`!LLVM_ENABLE_ABI_BREAKING_CHECKS` builds.
`BytesAllocated` is incremented on every Allocate (a hot-path memory
read-modify-write) only to back `getBytesAllocated()`. Drop the member.
There is a measurable stage2 instruction-count reduction.
https://llvm-compile-time-tracker.com/compare.php?from=25a6b5be6853b2c493ef392d41e43dd35ad4839a&to=8ebc975635ad717deb392d20b50f1a1f6bb16054&stat=instructions:u
Migrate the in-tree consumers:
- TableGen dumpAllocationStats drops the line; the clangd debug log
reports
getTotalMemory().
[8 lines not shown]
x11/xephem: Drop 2nd copy of fixing perl path
We had both REPLACE_PERL and a hand-written SUBST to do that, surely
from long ago. Just use REPLACE_PERL; that's what it's for.
x11/xephem: Grab 3 more files of upstream pull request 126
Files outside of the old WRKSRC were not picked up by mkpatches.
Restore patch comments lost in BUILD_DIRS pivot.
x11/xephem: Pivot from WRKSRC to BUILD_DIRS
WRKSRC implies that the build does not look outside of it, but that's
not true. Instead, make WRKSRC top level, and instead invoke make in
(singleton) BUILD_DIRS.
This is a huge commit textually, but it's just a pivot in how the
subdir is used, adding BUILD_DIRS to paths, and renaming all the
patches.
NFCI; this should produce the same binary. Works on netbsd-10 amd64
in "look at sky view, didn't crash, not blank" testing.
x11/xephem: Prune documentation of pkgsrc-specific license grant
Long ago, xephem was not free software and Elwood wrote to me granting
permission to distribute pkgsrc-modified binaries. Since then, it
became "mit", and is clearly documented as such in the sources, so
this is ancient history.
x11/xephem: Add \todo about wrong WRKSRC
While WRKSRC points to the dir in which make should be invoked, the
build references files outside of that dir. So it's wrong, and
BUILD_DIRS should be used instead.
tcp.fastopen.client_enable: Fix documented default
The default value has been 1 since June 2018, but the docs were not
updated to reflect the change.
MFC after: 3 days
Reviewed by: ziaee
Fixes: af4da5865557 (Enable TCP_FASTOPEN by default)
Signed-off-by: Matteo Riondato <matteo at FreeBSD.org>
Closes: https://github.com/freebsd/freebsd-src/pull/2285
(cherry picked from commit 0bc852cc62afcd79fc776f784623c3f2b7691d27)
mount_udf.8: Alphabetize and align options
While here, remove "The following UDF specific options are available:".
It is unused and does not appear to have ever been used.
MFC after: 3 days
(cherry picked from commit 05f132adc530cd53203b9cd09d7e1b211d2babc4)