Click here to Skip to main content
15,912,932 members

Survey Results

Code Optimization   [Edit]

Survey period: 12 Mar 2001 to 18 Mar 2001

Is code that just works good enough for you? Or are you someone that strives to make it work well. (contributed by James R. Twine)

OptionVotes% 
I do the research, and make the whole thing as fast/efficient as possible.14025.97
I try to optimize a few critical areas here and there.33161.41
If it works, it works. That is good enough for me.325.94
Works well? You should be lucky the damn thing launches!213.90
Optimization does not matter these days.152.78



 
GeneralRe: Pathetic Java code-->crawls to snail's speed Pin
James R. Twine18-Mar-01 15:48
James R. Twine18-Mar-01 15:48 
GeneralRe: Pathetic Java code-->crawls to snail's speed Pin
15-Mar-01 10:52
suss15-Mar-01 10:52 
GeneralRe: Pathetic Java code-->crawls to snail's speed Pin
James R. Twine16-Mar-01 11:10
James R. Twine16-Mar-01 11:10 
GeneralRe: Pathetic Java code-->crawls to snail's speed Pin
CodeGuy17-Mar-01 9:06
CodeGuy17-Mar-01 9:06 
GeneralRe: Pathetic Java code-->crawls to snail's speed Pin
James R. Twine17-Mar-01 11:31
James R. Twine17-Mar-01 11:31 
GeneralRe: Pathetic Java code-->crawls to snail's speed Pin
20-Mar-01 6:58
suss20-Mar-01 6:58 
GeneralRe: Pathetic Java code-->crawls to snail's speed Pin
James R. Twine21-Mar-01 3:39
James R. Twine21-Mar-01 3:39 
GeneralRe: Pathetic Java code-->crawls to snail's speed Pin
23-Mar-01 7:44
suss23-Mar-01 7:44 
Ok, I guess we can end this. My reason for posting originally was that the original post
gave me the impression that it was saying Java was SLOW and unusable for anything.

I now see that that was not your intension since you say that Java has a place and
even help me confirm its performance with a couple of your own links. Thanks for that,
I rarely have time to look for articles on topics like that.

Like I said originally, Its all about picking the right tool.

Oh, when do maps reallocate? Hash_maps might need to rehash but I thought that the
standard structure for a map was a tree. You might have to create new nodes but you
shouldn't need to realloc. I'll have to take a look. performance seemed ok just using a
map<wstring,int> since then we don't have to create a smart_ptr<wstring*> and a
comparator for them. Might save a bit if wstring(const& wstring) is slow.

Signing off for now.
Generalnot many programs Pin
12-Mar-01 4:51
suss12-Mar-01 4:51 
GeneralRe: not many programs Pin
Christian Graus12-Mar-01 12:25
protectorChristian Graus12-Mar-01 12:25 
GeneralLittle modification of third option Pin
Slavo Furman12-Mar-01 2:36
Slavo Furman12-Mar-01 2:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.