Difference between revisions of "Thread:Talk:DeBroglie/?????/reply (15)"

From Robowiki
Jump to navigation Jump to search
(Reply to ?????)
 
(fix link)
 
Line 1: Line 1:
With regards to the "readability" vs "efficiency" thing, I'd agree that they don't have to be entirely at odds. In the version of my kd-tree posted [[Rednaxela/kD-Tree|here]] I do feel I sacrificed too much readability with the aim of gaining performance, but in the rewrite ([https://bitbucket.org/rednaxela/knn-benchmark/src/de97871b1569/ags/utils/dataStructures here]) I found that almost all of the readability I sacrificed in the earlier version was unnecessary. Really, a good number of things that you might think are not optimized turn out to be taken care of by the JIT, so you just need to worry about higher level aspects in most cases.
+
With regards to the "readability" vs "efficiency" thing, I'd agree that they don't have to be entirely at odds. In the version of my kd-tree posted [[User:Rednaxela/kD-Tree|here]] I do feel I sacrificed too much readability with the aim of gaining performance, but in the rewrite ([https://bitbucket.org/rednaxela/knn-benchmark/src/de97871b1569/ags/utils/dataStructures here]) I found that almost all of the readability I sacrificed in the earlier version was unnecessary. Really, a good number of things that you might think are not optimized turn out to be taken care of by the JIT, so you just need to worry about higher level aspects in most cases.

Latest revision as of 20:21, 16 May 2012

With regards to the "readability" vs "efficiency" thing, I'd agree that they don't have to be entirely at odds. In the version of my kd-tree posted here I do feel I sacrificed too much readability with the aim of gaining performance, but in the rewrite (here) I found that almost all of the readability I sacrificed in the earlier version was unnecessary. Really, a good number of things that you might think are not optimized turn out to be taken care of by the JIT, so you just need to worry about higher level aspects in most cases.