#debian - Sun 15 Apr 2007 between 00:00 and 00:18

NY Lost Funds



undesktopasg: too general
asg: it doesn't tell me why the update at 15.04.07 wants to take up additional 491 megs
pickcoderundesktop: paste the offending aptitude log in a pasetbin
undesktopanyway, seems to be because of texlive
asgundesktop: undesktop the second paragraph explains it all really.
nivansonIf I have a loop that will go through many times and change a variable each time would declaring the variable before entering the loop save time or will it be just as fast if I declare it inside the loop each time it iterates?
That is not a debian question oops
asgnivanson: it'll always be faster outside the loop
undesktopnivanson: most likely it won't matter
pickcodernivanson: that really depends on the language
undesktopasg: justification?
nivansonjava
undesktopthen it won't matter at all
nivansonI'm not sure how memory allocation works
asgundesktop: while a compiler will factor that away, it's always better to err on the side of caution than assume what the compiler will do.
undesktopasg: not really... if you're doing something really performance critical thing, you'll disassemble, profile etc. the compiler output, and else it won't matter anyway
asgundesktop: indeed. I'd expect that this is not the case with this question though.
pickcodernivanson: I haven't written in Java in years, but from what I remember classes are run-time compiled so the tighter your code is the better
make it private if nothing else needs it
nivanson: once the variable has been assigned, a pointer will be assigned to it. changing the value inside a loop doesn't change the pointer
that's true for most languages. The main difference there is when you have to manually allocate memory such as with C
nivansonpickcoder, thanks that was really helpful :)
q
undesktoppickcoder: how is C different from Java here?
pickcoderJava extends a base class of functions, which handle memory allocation for you
if I remember correctly
<g>
undesktopoh well it has the new operator and a garbage collector
pickcoderthe base classes provide developer friendly input and output stuff too
DameI want to download debian dvd iso. I see three iso files, which one I need?
pickcoder90% of my coding is in Pick these days
undesktopanyway anyway... both Java and C can do the both things when variables are declared and used in loops etc...
\amethystnivanson: what language, what type is the variable, and what are you doing to change it?
undesktoppickcoder: and what is Pick?
plundra-le?
pickcoderwww.pickwiki.org
gah
solar_seaDame, the first one should be fine
\amethystpickcoder: NXDOMAIN

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 107 114 121 128 135 142 149 156 

IrcArchive

NY Lost Funds