Post Reply 
What is official name of Prime programming language
12-10-2020, 11:10 PM
Post: #7
RE: What is official name of Prime programming language
(12-10-2020 10:49 PM)Han Wrote:  
(12-09-2020 10:49 PM)patrice Wrote:  - Do you know if Cyrille did a kind of stringwriter ?

I'm sure Cyrille will chime in later to fix any historical errors...

If you are referring to a program for the HP48 series (also called stringwriter), I believe that was created by Jean Yves Avenard: https://www.hpcalc.org/details/129

This probably got incorporated into Metakernel, and eventually the HP49.

No mistake, StringBuilder is a technic to avoid copying a string every time you add a little string at the end of another.
traditionally, when you concatenate a little string at the end of another, system copy both strings to another place, which cost much.
StringBuilder reserve more space than needed (a buffer) for the big string, and when you append a little string at the end of big string, it just copy in the extra space which avoid copying the big string most of the time.

Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: What is official name of Prime programming language - patrice - 12-10-2020 11:10 PM



User(s) browsing this thread: 1 Guest(s)