From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.110.130 with SMTP id ia2mr543538obb.42.1409662271079; Tue, 02 Sep 2014 05:51:11 -0700 (PDT) Path: border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!r2no12818996igi.0!news-out.google.com!ef6ni8225igb.0!nntp.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Tue, 02 Sep 2014 07:51:10 -0500 From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: In the pipeline. Date: Tue, 02 Sep 2014 08:51:46 -0400 Organization: IISS Elusive Unicorn Message-ID: References: <077c3724-0a8e-41ba-b01f-c81fe92fe3a8@googlegroups.com> <65fa0c3d-e5d1-4067-978a-74ea3c2e5aea@googlegroups.com> <18cd3437-c6b0-4d9d-a8ca-2470d4d1eae2@googlegroups.com> <7hu90a5d028n1mhjv3f9kd3gm2oj0jr67t@4ax.com> X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES MIME-Version: 1.0 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 76.249.17.11 X-Trace: sv3-Bl9OBOJ68ddbx30euAj0F3OQKBbKIINtROq5TcupDUCkccec0ZQhKYTOoLOWEPGcdDQkn3sUCuQ1INH!78BMi0w1mZKRmDBHJZnPNLLiIE30tn0xt7Qg/cZrKJdPJIt/CgrgVoymAyvfKO4d2E+GdbLyq6eE!QuqmfJHy0vPedaSao4C13gVckg== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2088 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Xref: number.nntp.dca.giganews.com comp.lang.ada:188798 Date: 2014-09-02T08:51:46-04:00 List-Id: On Mon, 1 Sep 2014 17:22:05 -0700 (PDT), gdotone@gmail.com declaimed the following: > >that is really, really cool! Just watch out for stuff that might get built on the stack(s). Preallocate the buffers statically, and use direct assignments to the contents... A language like Python, OTOH, has no hope for this; strings are immutable, so any modification to a string really allocates a new string somewhere in memory, puts the changed data into it, and may (depending on the code) then mark the old string for garbage collection -- no way to get to it again. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/