Article View: comp.arch
Article #34Re: Optimization by programmers
From: Thomas Koenig
Date: Sun, 11 Oct 2026 08:41
Date: Sun, 11 Oct 2026 08:41
18 lines
1915 bytes
1915 bytes
Terje Mathisen <terje.mathisen@tmsw.no> schrieb: > My old asm/C brain _knows_ that a slice of something with a known > address and total length is effectively the same thing as an unmutable > array. > > Even if it isn't, the fact that I start by verifying that the slice > extends at least 7 bytes past the p index means that all of p, > p+1,p+2...p+6 must be valid, right? Range checking is very difficult for a compiler, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=VRP . -- This USENET posting was made without artificial intelligence, artificial impertinence, artificial arrogance, artificial stupidity, artificial flavorings or artificial colorants.
Technical Details
Message-ID:
<11afi48$2ev5k$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<1177fdi$26ea4$1@dont-email.me> <11a3ofn$2ak3s$1@dont-email.me> <11a5hd5$4qb$1@reader2.panix.com> <11a5lqo$2v5bq$1@dont-email.me> <11a6870$41j$1@reader2.panix.com> <11a6a6h$37i1n$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Thomas Koenig <tkoenig@netcologne.de> Newsgroups: comp.arch Subject: Re: Optimization by programmers Date: Sun, 11 Oct 2026 08:41:44 -0000 (UTC) Organization: A noiseless patient Spider Lines: 18 Message-ID: <11afi48$2ev5k$1@dont-email.me> References: <1177fdi$26ea4$1@dont-email.me> <11a3ofn$2ak3s$1@dont-email.me> <11a5hd5$4qb$1@reader2.panix.com> <11a5lqo$2v5bq$1@dont-email.me> <11a6870$41j$1@reader2.panix.com> <11a6a6h$37i1n$1@dont-email.me> Injection-Date: Sun, 11 Oct 2026 08:41:44 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2587828"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//zrHCR0PI1ti0KbSHc/1t46EOZIfMey4="; posting-host="913bd8ace6f9ea70db939c962bf8465a" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:zOCsQMUS/j6afVOADKfKw8WZwqs= sha256:6y47TyUx65spVdhUAvxRBGYmkDUS94wpDosd0nOVb+Y= sha1:HLNzYf5JEFPEIKAIiZSy141WuKE= sha256:Y5hWZYLXi0pY/DQX7Ro6916iVwafmlU9F+dUZG1if7s=