Industry links | Danish game productions | Contact | Latest threads |
Google Translate |

| Main forum | Site Content | Jobs | Showcase | Development | Offtopic |


| Event Calender |

Username:   Password:   Log me on automatically each visit  





Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Optimisering af kode
PostPosted: 31 Aug 2009, 14:41 
Offline
Level 1 - Speck of dust
User avatar

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
 Profile  
 
 Post subject: Re: Optimisering af kode
PostPosted: 10 Aug 2010, 09:00 
Offline
Level 2 - Grain of sand

Joined: 11 Mar 2008, 08:56
Posts: 24
Prøv denne søgning på amazon.com http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=algorithms+data+structures&x=10&y=22&fsc=-1

_________________
---
http://visualizethis.tumblr.com
http://www.3kings.dk


Top
 Profile  
 
 Post subject: Re: Optimisering af kode
PostPosted: 10 Aug 2010, 11:18 
Offline
Level 7 - Spellcaster
User avatar

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
 Profile  
 
 Post subject: Re: Optimisering af kode
PostPosted: 10 Aug 2010, 11:38 
Offline
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.

_________________
---
http://visualizethis.tumblr.com
http://www.3kings.dk


Top
 Profile  
 
 Post subject: Re: Optimisering af kode
PostPosted: 10 Aug 2010, 17:42 
Offline
Level 52 - Counterstrike terrorist

Joined: 12 Mar 2008, 15:18
Posts: 525
Der er lidt spredt fægtning omkring optimization, primært rettet mod C++ og game engines, i lecture slides fra 11-Nov og 16-Nov:
https://blog.itu.dk/MENP-E2009/course-schedule/

_________________
Michael 'Zacker' Schmidt
Portfolio | LinkedIn | Twitter
Pirates of New Horizons | Exit Strategy Entertainment


Top
 Profile  
 
 Post subject: Re: Optimisering af kode
PostPosted: 11 Aug 2010, 07:34 
Offline
Level 2 - Grain of sand

Joined: 11 Mar 2008, 08:56
Posts: 24
Zacker wrote:
Der er lidt spredt fægtning omkring optimization, primært rettet mod C++ og game engines, i lecture slides fra 11-Nov og 16-Nov:
https://blog.itu.dk/MENP-E2009/course-schedule/


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 :-)

_________________
---
http://visualizethis.tumblr.com
http://www.3kings.dk


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 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

Search for:
Jump to:  

Powered by phpBB © phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.