From: Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject: Re: In the pipeline.
Date: Tue, 02 Sep 2014 08:51:46 -0400
Date: 2014-09-02T08:51:46-04:00 [thread overview]
Message-ID: <u4fb0ad8chu9mqdi5gqqsg2oca5ur55am4@4ax.com> (raw)
In-Reply-To: e91b041c-e73a-4c28-99da-97ebe40aba44@googlegroups.com
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/
prev parent reply other threads:[~2014-09-02 12:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-26 6:35 In the pipeline austin.obyrne769
2014-09-01 12:31 ` erlo
2014-09-01 16:34 ` gdotone
2014-09-01 16:50 ` Simon Clubley
2014-09-01 17:12 ` gdotone
2014-09-01 23:06 ` Dennis Lee Bieber
2014-09-02 0:22 ` gdotone
2014-09-02 12:51 ` Dennis Lee Bieber [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox