 |
 |
 |
|
Page 1 of 1
|
[ 6 posts ] |
|
| Author |
Message |
|
theschwartz
|
Post subject: Optimisering af kode Posted: 31 Aug 2009, 14:41 |
|
 |
| Level 1 - Speck of dust |
 |
Joined: 16 Apr 2008, 11:01 Posts: 12 Location: Copenhagen
|
|
Hej
Jeg vil høre om der er nogle som kender bøger, links, generelle tips&tricks til optimisering af kode generelt (som i største grad kan bruges af alle sprog).
Venlig hilsen Martin
_________________ May the Schwartz be with you... --- http://theschwartz.dk
|
|
| Top |
|
 |
|
rasmuskaae
|
Post subject: Re: Optimisering af kode Posted: 10 Aug 2010, 09:00 |
|
 |
| Level 2 - Grain of sand |
Joined: 11 Mar 2008, 08:56 Posts: 24
|
|
| Top |
|
 |
|
Crisium
|
Post subject: Re: Optimisering af kode Posted: 10 Aug 2010, 11:18 |
|
 |
| Level 7 - Spellcaster |
 |
Joined: 13 Mar 2008, 17:57 Posts: 72 Location: Odense C
|
|
Hi Martin,
I would be amazed if such a book existed. There is of course generalized optimization like moving constants out of loops and so on...
but optimization is very dependent on what you are trying to archive.
If you really need a generalized method to optimization that would work on almost all languages, then I would say cache as much as possible.
please note,.. my suggestions is related to speed optimization... if you are trying to optimize size then that's another story.
regards, Peter Wraae Marino
_________________ kind regards, Peter Wraae Marino http://www.osghelp.com - support site for OpenSceneGraph
|
|
| Top |
|
 |
|
rasmuskaae
|
Post subject: Re: Optimisering af kode Posted: 10 Aug 2010, 11:38 |
|
 |
| Level 2 - Grain of sand |
Joined: 11 Mar 2008, 08:56 Posts: 24
|
|
den bedste ressource til optimering er i, efter min mening, optimering af algoritmer og datastrukturer. efterfølgende kan man kigge på sub-optimeringer med sprogspecifikke konstruktioner, maskinkode, cache udnyttelse, osv.
|
|
| Top |
|
 |
|
Zacker
|
Post subject: Re: Optimisering af kode Posted: 10 Aug 2010, 17:42 |
|
 |
| Level 52 - Counterstrike terrorist |
Joined: 12 Mar 2008, 15:18 Posts: 525
|
|
| Top |
|
 |
|
rasmuskaae
|
Post subject: Re: Optimisering af kode Posted: 11 Aug 2010, 07:34 |
|
 |
| Level 2 - Grain of sand |
Joined: 11 Mar 2008, 08:56 Posts: 24
|
Unity-guttens oplæg ser ganske fornuftigt ud. Specielt er det godt han prædiker lidt i mod brugen af virtuals - som de fleste akademikere ville bruge til at løse det viste problem 
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 6 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
 |
|