Convert notes into blockquotes
This commit is contained in:
parent
832fb15e54
commit
8ed9dea394
105 changed files with 884 additions and 411 deletions
11
17-08.md
11
17-08.md
|
|
@ -41,9 +41,14 @@ well-optimized, and, as I noted, the program must be compiled with the
|
|||
large model for large cellmaps. Also, of course, the entire program is
|
||||
still in C++; note well that there's not a whit of assembly here.
|
||||
|
||||
------------------- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
 *We've gotten more than a 30-times speedup simply by removing a little of the abstraction that C++ encourages, and by storing and processing the data in a manner appropriate for the typical nature of the data itself. In other words, we've done some linear, left-brained optimization (using pointers and reducing calls) and some non-linear, right-brained optimization (understanding the real problem and listening for the creative whisper of non-obvious solutions).*
|
||||
------------------- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
> 
|
||||
> We've gotten more than a 30-times speedup simply by removing a little of
|
||||
> the abstraction that C++ encourages, and by storing and processing the
|
||||
> data in a manner appropriate for the typical nature of the data itself.
|
||||
> In other words, we've done some linear, left-brained optimization (using
|
||||
> pointers and reducing calls) and some non-linear, right-brained
|
||||
> optimization (understanding the real problem and listening for the
|
||||
> creative whisper of non-obvious solutions).
|
||||
|
||||
No doubt we could get another two to five times improvement with good
|
||||
assembly code—but that's dwarfed by a 30-times improvement, so
|
||||
|
|
|
|||
Loading…
Reference in a new issue