How to filter out vibe-coded dependencies
github.com/ghc/ghc
Introduce TargetInt to represent target's Int (#15973)
committed 06:19AM - 11 Apr 26 UTC
hsyl20
+145 -82
GHC was using host 'Int' in several places to represent values that live in the …target machine's 'Int' type. This is silently wrong when cross-compiling from a 32-bit host to a 64-bit target: the host Int is 32 bits while the target Int is 64 bits. See Note [TargetInt] in GHC.Platform. Also used the opportunity to make DynTag = Word8. Fixes #15973 Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
github.com/ghc/ghc
testsuite: avoid re.sub in favor of simple string replacements
committed 09:09PM - 21 Jan 26 UTC
TerrorJack
+54 -38
This patch refactors the testsuite driver and avoids the usage of re.sub in favo…r of simple string replacements when possible. The changes are not comprehensive, and there are still a lot of re.sub usages lingering around the tree, but this already addresses a major performance bottleneck in the testsuite driver that might has to do with quadratic or worse slowdown in cpython's regular expression engine when handling certain regex patterns with large strings. Especially on i386, and i386 jobs are the bottlenecks of all full-ci validate pipelines! Here are the elapsed times of testing x86_64/i386 with -j48 before this patch: x86_64: Build completed in 6m06s i386: Build completed in 1h36m And with this patch: x86_64: Build completed in 4m55s i386: Build completed in 4m23s Fixes #26786. Co-authored-by: Codex codex@openai.com
Please filter out GHC also
Discussion in the ATmosphere