The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Why We Profile

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
Why We Profile Posted: May 27, 2007 2:04 PM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: Why We Profile
Feed Title: Cincom Smalltalk Blog - Smalltalk with Rants
Feed URL: http://www.cincomsmalltalk.com/rssBlog/rssBlogView.xml
Feed Description: James Robertson comments on Cincom Smalltalk, the Smalltalk development community, and IT trends and issues in general.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Cincom Smalltalk Blog - Smalltalk with Rants

Advertisement

Gordon Weakliem points out that the "conventional wisdom" on optimizing things may not always hold:

it takes around 1,000 concatenations to make StringBuilder.Append() out-perform String::operator+ . Johan's point is that you need to consider the effect of reallocations and GC on performance - it may well be that the classic test to loop through the operations and compare the running time is flawed.

His example is for C#, but the broader lesson holds for any language/library: it's not what you don't know that kills you: it's what you think you know that just isn't so.

Read: Why We Profile

Topic: Using Marketing Intelligence Previous Topic   Next Topic Topic: All The Things I’m NOT Doing Now

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use