Shift chapters around to allow for TOC

This commit is contained in:
Jason Turner
2014-05-24 11:37:53 -06:00
parent 803d5d4d08
commit 1577bec869
10 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# Considering Threadability
## Avoid Global Data
This includes statics and singletons
Global data leads to unintended side effects between functions and can make code difficult or impossible to parallelize. Even if the code is not intended today for parallelization, there is no reason to make it impossible for the future.
## Avoid Heap Operations
Much slower in threaded environments. In many or maybe even most cases, copying data is faster. Plus with move operations and such and things