🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #831

Re: Problems with Centipede

#831
From: Oleg Kiselev
Date: Thu, 23 Jul 1987 22:43
21 lines
1356 bytes
Change of
>] <     register char ch;
to 
>]>     register char *ch;

>THIS PATCH IS NOT GOOD PROGRAMMING!  [... AND THE GOOD REASONS WHY ]
>char (note the absence of a malloc()).  The better fix is to drop
>the 'register' from 'register char ch' and put up with the (slight)
>(noticable??) degredation in performance.

How about:
    char xxx;
    register char *ch = &xxx;

then you can keep register access speed improvements (if any).
-- 
Oleg Kiselev  --  oleg@quad1.quad.com -- {...!psivax|seismo!gould}!quad1!oleg

DISCLAIMER: All grammatical and spelling errors are inserted deliberately to
test the software I am developing.  In fact, that is the only reason I am 
posting. Yeah, that's the ticket! All my postings are just test data! Yeah!!
Technical Details
Message-ID: <983@quad1.quad.com>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!mcnc!rutgers!sri-unix!sri-spam!ames!ucbcad!zen!ucla-cs!sdcrdcf!psivax!quad1!oleg
References: <758@soliloquy.rutgers.edu> <1064@csadfa.oz>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!mcnc!rutgers!sri-unix!sri-spam!ames!ucbcad!zen!ucla-cs!sdcrdcf!psivax!quad1!oleg
From: oleg@quad1.quad.com (Oleg Kiselev)
Newsgroups: comp.sources.bugs
Subject: Re: Problems with Centipede
Message-ID: <983@quad1.quad.com>
Date: Thu, 23-Jul-87 18:43:09 EDT
Article-I.D.: quad1.983
Posted: Thu Jul 23 18:43:09 1987
Date-Received: Sat, 25-Jul-87 21:40:12 EDT
References: <758@soliloquy.rutgers.edu> <1064@csadfa.oz>
Reply-To: oleg@quad1.UUCP (Oleg Kiselev)
Organization: HASA
Lines: 21