Commit Graph

67 Commits

Author SHA1 Message Date
Nadav Rotem
6b85ada71e [optimization guide] Add a disclaimer about the advice given in this document 2015-11-09 17:09:06 -08:00
Xi Ge
885850396e [Docs] Use double quote to avoid doc build errors. 2015-11-09 16:36:25 -08:00
Nadav Rotem
04cfc9264b [optimization guide] Describe the disadvantages of using Array and propose an alternative cow data structure. 2015-11-08 15:56:12 -08:00
Michael Gottesman
043fd75e4e Fix header line in OptimizationTips.rst that was too long for the heading above it. 2015-11-08 00:20:19 -06:00
Nadav Rotem
751b261c77 [optimization guide] Advice: Mark protocols that are only satisfied by classes as class-protocols 2015-11-07 21:57:50 -08:00
Nadav Rotem
debc8f4aa1 [optimization guide] Describe the cost of passing large values. 2015-11-06 16:04:21 -08:00
Nadav Rotem
9cff4a3808 Add a note to the optimization guide about the trick to enable generic specialization.
Inserting a runtime typecheck can allow the generic specializer to operate across module boundary.

Swift SVN r32773
2015-10-20 15:07:19 +00:00
Mark Lacey
65edf255ba Fix typo in optimization tips document.
Swift SVN r29758
2015-06-27 04:42:23 +00:00
Nadav Rotem
7dae65c9fd Document the new whole-module-opt mode.
Swift SVN r25255
2015-02-12 22:43:32 +00:00
Michael Gottesman
f6d7033696 [opt-tips] Add a section that suggests using ContiguousArray with reference types when NSArray bridging is unnecessary.
Swift SVN r24680
2015-01-23 04:52:22 +00:00
Michael Gottesman
f874eec120 [opt-tips] Change 2x titles and remove a reference to ContiguousArray.
Swift SVN r24679
2015-01-23 04:50:43 +00:00
Nadav Rotem
902edf1c84 Change the recommendation to use Unmanaged<T>.
Swift SVN r24665
2015-01-23 00:37:47 +00:00
Nadav Rotem
435c4c8543 Describe the use of UnsafeMutablePointer for manual memory managment.
Swift SVN r24659
2015-01-22 22:59:38 +00:00
Michael Gottesman
93d4d9fdde More preliminary changes to address Dave's advice.
Swift SVN r24635
2015-01-22 10:24:04 +00:00
Michael Gottesman
a619610cb5 Incorporate preliminary feedback from Dave.
Swift SVN r24615
2015-01-21 22:47:39 +00:00
Michael Gottesman
e660c7b7f1 Add in :orhpan: to the top of OptimizationTips.rst to quiet rest warnings.
Swift SVN r24584
2015-01-21 02:30:01 +00:00
Michael Gottesman
02b578b9ab Add OptimizationTips.rst, some tips for writing high performance swift code.
Swift SVN r24579
2015-01-21 00:17:36 +00:00