🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #15173

Re: rot13 [Was : Re: conjugaison et autres ...]

#15173
From: Antoine Leca
Date: Tue, 04 Oct 2005 10:19
27 lines
3298 bytes
En <news:43424a17$0$301$7a628cd7@news.club-internet.fr>,
Richard Delorme va escriure:
> Antoine Leca a �crit :
>> Surtout dans un algorithme comme celui-l�, o� tu vas utiliser un
>> tableau de 131072 octets (UTF-16, Windows) ou 16 Go (UTF-32, *nix)
>> quand tu travailles en UNICODE.
>> ;-)
>
> C'est pas grave, on commence � trouver des cartes m�res acceptant 64
> GB de m�moire vive :

Je ne vois pas le rapport. Le probl�me, c'est l'espace d'adressage virtuel
du syst�me utilis�. Si ton syst�me n'accepte pas de te laisser allouer un
tableau de 16 Go, c'est rat� (et en passant, ce serait plus intelligent de
stocker les diff�rences plut�t que les valeurs absolues dans crypt[], cela
permettrait de soulager la m�moire virtuelle � l'initialisation...)

Par exemple, l'id�e de Chqrlie (utiliser une globale) va cr�er des probl�mes
avec les UTF-32, avec ta carte m�re de 64 Go : m�me en utilisant un syst�me
64 bits, la taille du tableau va d�passer la limite de 2Go du mod�le 'small'
du x86-64, et peu de syst�mes � l'heure actuelle supportent le mod�le
'medium' au niveau du binaire (le mod�le 'large', plus de 2 Go de _code_,
est pour moi un escogriffe uniquement destin� aux chercheurs, mais bon, il
faut se pr�parer � tout...)


Antoine
Technical Details
Message-ID: <dhtl00$l4k$1@shakotay.alphanet.ch>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.kolumbus.fi!fi.sn.net!newsfeed2.fi.sn.net!news2.euro.net!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!213.218.133.51.MISMATCH!nocworld.net!freenix!news.alphanet.ch!alphanet.ch!not-for-mail
References: <1126342327.583568.21420@g43g2000cwa.googlegroups.com> <4329e5d4$0$7846$8fcfb975@news.wanadoo.fr> <dge4b6$fqa$1@reader1.imaginet.fr> <432ab809$0$1734$8fcfb975@news.wanadoo.fr> <mn.84b07d59016a857b.31483@laposte.net> <433f16ac$0$27406$8fcfb975@news.wanadoo.fr> <mn.10907d5a55119e84.15512@YOURBRAnoos.fr> <433f9cb1$0$7821$8fcfb975@news.wanadoo.fr> <mn.128c7d5aa5238de0.15512@YOURBRAnoos.fr> <43403203$0$5388$8fcfb975@news.wanadoo.fr> <43403d27$0$306$7a628cd7@news.club-internet.fr> <dhq3bs$dbc$1@reader1.imaginet.fr> <4340d2c9$0$27410$8fcfb975@news.wanadoo.fr> <dhqk2i$g6k$1@reader1.imaginet.fr> <dhth6r$v3u$1@shakotay.alphanet.ch> <43424a17$0$301$7a628cd7@news.club-internet.fr>

Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,b21b26167a936e28
X-Google-Attributes: gidf9822,public
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.kolumbus.fi!fi.sn.net!newsfeed2.fi.sn.net!news2.euro.net!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!213.218.133.51.MISMATCH!nocworld.net!freenix!news.alphanet.ch!alphanet.ch!not-for-mail
From: "Antoine Leca" <root@localhost.invalid>
Newsgroups: fr.comp.lang.c
Subject: Re: rot13 [Was : Re: conjugaison et autres ...]
Date: Tue, 4 Oct 2005 12:19:43 +0200
Organization: Posted through ALPHANET (http://www.alphanet.ch/)
Lines: 28
Sender: antoinel@143.red-217-127-250.staticip.rima-tde.net
Message-ID: <dhtl00$l4k$1@shakotay.alphanet.ch>
References: <1126342327.583568.21420@g43g2000cwa.googlegroups.com> <4329e5d4$0$7846$8fcfb975@news.wanadoo.fr> <dge4b6$fqa$1@reader1.imaginet.fr> <432ab809$0$1734$8fcfb975@news.wanadoo.fr> <mn.84b07d59016a857b.31483@laposte.net> <433f16ac$0$27406$8fcfb975@news.wanadoo.fr> <mn.10907d5a55119e84.15512@YOURBRAnoos.fr> <433f9cb1$0$7821$8fcfb975@news.wanadoo.fr> <mn.128c7d5aa5238de0.15512@YOURBRAnoos.fr> <43403203$0$5388$8fcfb975@news.wanadoo.fr> <43403d27$0$306$7a628cd7@news.club-internet.fr> <dhq3bs$dbc$1@reader1.imaginet.fr> <4340d2c9$0$27410$8fcfb975@news.wanadoo.fr> <dhqk2i$g6k$1@reader1.imaginet.fr> <dhth6r$v3u$1@shakotay.alphanet.ch> <43424a17$0$301$7a628cd7@news.club-internet.fr>
NNTP-Posting-Host: 143.red-217-127-250.staticip.rima-tde.net
Mime-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-15"
Content-Transfer-Encoding: 8bit
X-Trace: shakotay.alphanet.ch 1128421184 21652 217.127.250.143 (4 Oct 2005 10:19:44 GMT)
X-Complaints-To: usenet@alphanet.ch
NNTP-Posting-Date: Tue, 4 Oct 2005 10:19:44 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506