digitalmars.D - long string and memory
- jicman (6/6) Feb 25 2005 Greetings!
- Paul Bonser (8/19) Feb 25 2005 If nothing outside the function references the long string, then it is
- Matthew (4/25) Feb 25 2005 Indeed, this is a good example of the type of program for which D will
- Paul Bonser (8/10) Feb 25 2005 Man, if you use words like that in your books, I'm gonna have to be sure...
- Matthew (3/9) Feb 25 2005 I do. And that's one of the mild ones! ;)
- Brad Anderson (3/19) Feb 25 2005 Ah, Matthew the sesquipedalian author.
- John Reimer (10/26) Feb 25 2005 Matthew likes big words. "Superlative" is indeed a mild one.
- Matthew (3/27) Feb 25 2005 Honk!
- John Reimer (2/43) Feb 25 2005
- Matthew (7/49) Feb 25 2005 FMI: is Honk! a widely recognised thing?
- John Reimer (9/70) Feb 25 2005 Well, I knew you were being funny, and that it was. :-) But I honestly
- Walter (14/15) Feb 25 2005 That would be:
- John Reimer (2/23) Feb 26 2005 lol!.. wow... do I get to pick?
- Andy Knowles (7/30) Feb 26 2005 barn door has to be my favourite :P
- Manfred Nowak (8/10) Feb 27 2005 [...]
- jicman (5/14) Feb 25 2005 It's also good to handle large xml strings really fast! :-)
Greetings! I have a program with a function downloads a bunch of xml as one huge string (char[]) and splits that xml into pieces and return a char[][] array. What happens to that huge string after that function returns the array? thanks, josé
Feb 25 2005
jicman wrote:Greetings! I have a program with a function downloads a bunch of xml as one huge string (char[]) and splits that xml into pieces and return a char[][] array. What happens to that huge string after that function returns the array? thanks, joséIf nothing outside the function references the long string, then it is garbage collected. -- -PIB -- "C++ also supports the notion of *friends*: cooperative classes that are permitted to see each other's private parts." - Grady Booch
Feb 25 2005
Indeed, this is a good example of the type of program for which D will be _the_ superlative language. "Paul Bonser" <misterpib gmail.com> wrote in message news:cvntpl$1cc2$1 digitaldaemon.com...jicman wrote:Greetings! I have a program with a function downloads a bunch of xml as one huge string (char[]) and splits that xml into pieces and return a char[][] array. What happens to that huge string after that function returns the array? thanks, joséIf nothing outside the function references the long string, then it is garbage collected. -- -PIB -- "C++ also supports the notion of *friends*: cooperative classes that are permitted to see each other's private parts." - Grady Booch
Feb 25 2005
Matthew wrote:Indeed, this is a good example of the type of program for which D will be _the_ superlative language.Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P -- -PIB -- "C++ also supports the notion of *friends*: cooperative classes that are permitted to see each other's private parts." - Grady Booch
Feb 25 2005
"Paul Bonser" <misterpib gmail.com> wrote in message news:cvo141$1fjg$1 digitaldaemon.com...Matthew wrote:I do. And that's one of the mild ones! ;)Indeed, this is a good example of the type of program for which D will be _the_ superlative language.Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P
Feb 25 2005
Ah, Matthew the sesquipedalian author. BA Matthew wrote:"Paul Bonser" <misterpib gmail.com> wrote in message news:cvo141$1fjg$1 digitaldaemon.com...Matthew wrote:I do. And that's one of the mild ones! ;)Indeed, this is a good example of the type of program for which D will be _the_ superlative language.Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P
Feb 25 2005
Matthew wrote:"Paul Bonser" <misterpib gmail.com> wrote in message news:cvo141$1fjg$1 digitaldaemon.com...Matthew likes big words. "Superlative" is indeed a mild one. I don't think it's always appropriate ;-), but it's good exercise for the brain; I know I'm frequently looking up words on the internet dictionary after reading his posts. He also likes using slang and colloquial language, the definitions for which I've sometimes never found! Quite the guy! :-) - John R.Matthew wrote:I do. And that's one of the mild ones! ;)Indeed, this is a good example of the type of program for which D will be _the_ superlative language.Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P
Feb 25 2005
Honk! "John Reimer" <brk_6502 yahoo.com> wrote in message news:cvo4p8$1jcg$1 digitaldaemon.com...Matthew wrote:"Paul Bonser" <misterpib gmail.com> wrote in message news:cvo141$1fjg$1 digitaldaemon.com...Matthew likes big words. "Superlative" is indeed a mild one. I don't think it's always appropriate ;-), but it's good exercise for the brain; I know I'm frequently looking up words on the internet dictionary after reading his posts. He also likes using slang and colloquial language, the definitions for which I've sometimes never found! Quite the guy! :-) - John R.Matthew wrote:I do. And that's one of the mild ones! ;)Indeed, this is a good example of the type of program for which D will be _the_ superlative language.Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P
Feb 25 2005
There! See? See? Like that! Matthew wrote:Honk! "John Reimer" <brk_6502 yahoo.com> wrote in message news:cvo4p8$1jcg$1 digitaldaemon.com...Matthew wrote:"Paul Bonser" <misterpib gmail.com> wrote in message news:cvo141$1fjg$1 digitaldaemon.com...Matthew likes big words. "Superlative" is indeed a mild one. I don't think it's always appropriate ;-), but it's good exercise for the brain; I know I'm frequently looking up words on the internet dictionary after reading his posts. He also likes using slang and colloquial language, the definitions for which I've sometimes never found! Quite the guy! :-) - John R.Matthew wrote:I do. And that's one of the mild ones! ;)Indeed, this is a good example of the type of program for which D will be _the_ superlative language.Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P
Feb 25 2005
FMI: is Honk! a widely recognised thing? In case it's not: it represents the noise of a goose, for when one, or one's correspondent, is being a goose. It's particularly attractive for the reason that it is impossible to emit a Honk! that contains any malice. "John Reimer" <brk_6502 yahoo.com> wrote in message news:cvo8ra$1nns$1 digitaldaemon.com...There! See? See? Like that! Matthew wrote:Honk! "John Reimer" <brk_6502 yahoo.com> wrote in message news:cvo4p8$1jcg$1 digitaldaemon.com...Matthew wrote:"Paul Bonser" <misterpib gmail.com> wrote in message news:cvo141$1fjg$1 digitaldaemon.com...Matthew likes big words. "Superlative" is indeed a mild one. I don't think it's always appropriate ;-), but it's good exercise for the brain; I know I'm frequently looking up words on the internet dictionary after reading his posts. He also likes using slang and colloquial language, the definitions for which I've sometimes never found! Quite the guy! :-) - John R.Matthew wrote:I do. And that's one of the mild ones! ;)Indeed, this is a good example of the type of program for which D will be _the_ superlative language.Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P
Feb 25 2005
Well, I knew you were being funny, and that it was. :-) But I honestly didn't even come to close to guessing the true meaning of your "honking!" I thought it was a car "honk." This must be the a peculiar instance similar to the difficulties Walter experiences with icons and GUI's :-). See, Matthew? You can't win with complicated or simple words. You just pack too much meaning into them, regardless! ;-) - John R. Matthew wrote:FMI: is Honk! a widely recognised thing? In case it's not: it represents the noise of a goose, for when one, or one's correspondent, is being a goose. It's particularly attractive for the reason that it is impossible to emit a Honk! that contains any malice. "John Reimer" <brk_6502 yahoo.com> wrote in message news:cvo8ra$1nns$1 digitaldaemon.com...There! See? See? Like that! Matthew wrote:Honk! "John Reimer" <brk_6502 yahoo.com> wrote in message news:cvo4p8$1jcg$1 digitaldaemon.com...Matthew wrote:"Paul Bonser" <misterpib gmail.com> wrote in message news:cvo141$1fjg$1 digitaldaemon.com...Matthew likes big words. "Superlative" is indeed a mild one. I don't think it's always appropriate ;-), but it's good exercise for the brain; I know I'm frequently looking up words on the internet dictionary after reading his posts. He also likes using slang and colloquial language, the definitions for which I've sometimes never found! Quite the guy! :-) - John R.Matthew wrote:I do. And that's one of the mild ones! ;)Indeed, this is a good example of the type of program for which D will be _the_ superlative language.Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P
Feb 25 2005
"John Reimer" <brk_6502 yahoo.com> wrote in message news:cvo4p8$1jcg$1 digitaldaemon.com...Matthew likes big words.That would be: Matthew likes [consequential, considerable, eminent, heavy duty, heavyweight, influential, leading, main, major league, material, meaningful, momentous, paramount, powerful, prime, principal, prominent, serious, significant, substantial, super, super colossal, valuable, weighty, ample, awash, barn door, brimming, bulky, bull, burly, capacious, chock-full, colossal, commodious, considerable, copious, crowded, enormous, extensive, fat, full, gigantic, heavy duty, heavyweight, hefty, huge, hulking, humungous, husky, immense, jumbo, king sized, mammoth, massive, monster, mungo, oversize, packed, ponderous, prodigious, roomy, sizable, spacious, strapping, stuffed, substantial, super colossal, thundering, vast, voluminous, walloping, whopper, whopping] words.
Feb 25 2005
Walter wrote:"John Reimer" <brk_6502 yahoo.com> wrote in message news:cvo4p8$1jcg$1 digitaldaemon.com...lol!.. wow... do I get to pick?Matthew likes big words.That would be: Matthew likes [consequential, considerable, eminent, heavy duty, heavyweight, influential, leading, main, major league, material, meaningful, momentous, paramount, powerful, prime, principal, prominent, serious, significant, substantial, super, super colossal, valuable, weighty, ample, awash, barn door, brimming, bulky, bull, burly, capacious, chock-full, colossal, commodious, considerable, copious, crowded, enormous, extensive, fat, full, gigantic, heavy duty, heavyweight, hefty, huge, hulking, humungous, husky, immense, jumbo, king sized, mammoth, massive, monster, mungo, oversize, packed, ponderous, prodigious, roomy, sizable, spacious, strapping, stuffed, substantial, super colossal, thundering, vast, voluminous, walloping, whopper, whopping] words.
Feb 26 2005
barn door has to be my favourite :P "John Reimer" <brk_6502 yahoo.com> wrote in message news:cvparh$2nt9$1 digitaldaemon.com...Walter wrote:meaningful,"John Reimer" <brk_6502 yahoo.com> wrote in message news:cvo4p8$1jcg$1 digitaldaemon.com...Matthew likes big words.That would be: Matthew likes [consequential, considerable, eminent, heavy duty, heavyweight, influential, leading, main, major league, material,ample,momentous, paramount, powerful, prime, principal, prominent, serious, significant, substantial, super, super colossal, valuable, weighty,extensive,awash, barn door, brimming, bulky, bull, burly, capacious, chock-full, colossal, commodious, considerable, copious, crowded, enormous,spacious,fat, full, gigantic, heavy duty, heavyweight, hefty, huge, hulking, humungous, husky, immense, jumbo, king sized, mammoth, massive, monster, mungo, oversize, packed, ponderous, prodigious, roomy, sizable,strapping, stuffed, substantial, super colossal, thundering, vast, voluminous, walloping, whopper, whopping] words.lol!.. wow... do I get to pick?
Feb 26 2005
"Walter" <newshound digitalmars.com> wrote: [...]P.S. I've never found any IDE that is as productive as the command prompt.[...] You can batch GUIs with automatization tools like autoit from http://www.hiddensoft.com/autoit or autohotkey from http://www.autohotkey.com -manfred
Feb 27 2005
It's also good to handle large xml strings really fast! :-) thanks. In article <cvnuil$1d1r$1 digitaldaemon.com>, Matthew says...Indeed, this is a good example of the type of program for which D will be _the_ superlative language.[clip][clip]I have a program with a function downloads a bunch of xml as one huge string (char[]) and splits that xml into pieces and return a char[][] array. What happens to that huge string after that function returns the array?If nothing outside the function references the long string, then it is garbage collected.
Feb 25 2005