Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #401020
| From | Richard Harnden <richard.nospam@gmail.invalid> |
|---|---|
| Newsgroups | comp.lang.c, comp.os.ms-windows.programmer.win32 |
| Subject | Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! |
| Date | 2026-08-11 20:16 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <115fseb$8ioh$1@dont-email.me> (permalink) |
| References | <smNdS.557$7WX8.434@fx08.ams4> <115flfs$63aq$1@raubtier-asyl.eternal-september.org> |
Cross-posted to 2 groups.
On 11/08/2026 18:17, Bonita Montero wrote: > Am 08.08.2026 um 23:39 schrieb Johann 'Myrkraverk' Oskarsson: >> Dear comp.lang.c, comp.os.ms-windows.programmer.win32, >> and perhaps other groups that may make use of this information, but I >> don't know about. >> When you want to use == to compare strings such as "a", with "b" because >> all your strings are constants, ... > When do you compare the address of string literals ? When they've all come via a hash. I guess that's > very rare. Today's compilers / linkers not only join string-literals > on the same address when they're the same but any static data (comdat > folding). The potential for mistakes with that seems very little for > me.
Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread
Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> - 2026-08-09 05:39 +0800
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! legalize+jeeves@mail.xmission.com (Richard) - 2026-08-10 15:51 +0000
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-08-10 15:33 -0700
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! R Kym Horsell <kym@sdf.org> - 2026-08-11 04:02 +0000
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! David Brown <david.brown@hesbynett.no> - 2026-08-11 08:34 +0200
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-08-11 00:12 -0700
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! cross@spitfire.i.gajendra.net (Dan Cross) - 2026-08-11 13:50 +0000
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2026-08-11 16:32 +0200
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! Anton Antimo <anton@safunu.org> - 2026-08-11 13:24 -0300
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2026-08-11 17:13 +0000
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! legalize+jeeves@mail.xmission.com (Richard) - 2026-08-11 15:10 +0000
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-08-11 14:30 -0700
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! legalize+jeeves@mail.xmission.com (Richard) - 2026-08-13 14:09 +0000
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-08-13 14:39 -0700
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2026-08-13 14:41 -0700
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! Bonita Montero <Bonita.Montero@gmail.com> - 2026-08-11 19:17 +0200
Re: Public Service Announcement: Please use /GF with Visual Studio when you want to collapse constant strings! Richard Harnden <richard.nospam@gmail.invalid> - 2026-08-11 20:16 +0100
csiph-web