Commit Graph

28 Commits

Author SHA1 Message Date
Max Moiseev
a558d13a3b Revert "Replace Unmanaged with UnsafeReference"
This reverts commit d72932e931.
2016-02-15 17:13:40 -08:00
Doug Gregor
7d70b704e4 Merge commit '5e11e3f7287427d386636a169c4065c0373931a8' into swift-3-api-guidelines 2016-01-19 23:18:20 -08:00
practicalswift
4689a22f1b Replace left/right quotation marks with apostrophes in non-quote contexts
* LEFT SINGLE QUOTATION MARK (U+2018) → APOSTROPHE (U+0027)
* RIGHT SINGLE QUOTATION MARK (U+2019) → APOSTROPHE (U+0027)
2016-01-06 12:29:40 +01:00
Max Moiseev
200be71583 Merge remote-tracking branch 'origin' into swift-3-api-guidelines 2015-12-23 10:28:04 -08:00
ken0nek
fcd8fcee91 Convert [Cc]an not -> [Cc]annot 2015-12-23 00:55:48 +09:00
Dave Abrahams
d72932e931 Replace Unmanaged with UnsafeReference 2015-12-18 16:22:24 -08:00
Ahmed Ibrahim
2b0bde9014 Capitalize struct name 2015-12-16 23:55:50 +02:00
Zach Panzarino
89921c5765 Fix errors in OptimizationTips 2015-12-04 01:43:05 +00:00
Chris Lattner
d9e9feabaf Remove use of "Dynamicism" 2015-12-03 15:28:52 -08:00
codester
e9b3b2e6f6 Fix Typos
Fixed spelling
2015-12-04 00:13:40 +05:30
Nadav Rotem
78ee82d4cc Replace the single backtick with a double backtick to fix the linux build. 2015-11-09 22:17:17 -08:00
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