Thread overview | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
February 25, 2005 long string and memory | ||||
---|---|---|---|---|
| ||||
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é |
February 25, 2005 Re: long string and memory | ||||
---|---|---|---|---|
| ||||
Posted in reply to jicman | 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 |
February 25, 2005 Re: long string and memory | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paul Bonser | 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 |
February 25, 2005 Re:OT: Fancy words. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | 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 |
February 25, 2005 Re: Re:OT: Fancy words. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Paul Bonser | "Paul Bonser" <misterpib@gmail.com> wrote in message news:cvo141$1fjg$1@digitaldaemon.com... > 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 I do. And that's one of the mild ones! ;) |
February 25, 2005 Re: OT: Fancy words. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | Ah, Matthew the sesquipedalian author.
BA
Matthew wrote:
> "Paul Bonser" <misterpib@gmail.com> wrote in message news:cvo141$1fjg$1@digitaldaemon.com...
>
>>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
>
>
> I do. And that's one of the mild ones! ;)
>
>
|
February 25, 2005 Re: OT: Fancy words. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | Matthew wrote:
> "Paul Bonser" <misterpib@gmail.com> wrote in message news:cvo141$1fjg$1@digitaldaemon.com...
>
>>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
>
>
> I do. And that's one of the mild ones! ;)
>
>
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.
|
February 25, 2005 Re: OT: Fancy words. | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Reimer | 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 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 >> >> >> I do. And that's one of the mild ones! ;) > > 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. |
February 25, 2005 Re: OT: Fancy words. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matthew | 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 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
>>>
>>>
>>>I do. And that's one of the mild ones! ;)
>>
>>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.
>
>
>
|
February 26, 2005 Re: OT: Fancy words. | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Reimer | 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 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 >>>> >>>> >>>>I do. And that's one of the mild ones! ;) >>> >>>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. >> >> |
Copyright © 1999-2021 by the D Language Foundation