Andrew Trick
df6e927147
Documentation: move the @_specialize discussion into
...
proposals/UnsupportedOptimizationAttributes.rst.
2017-05-19 12:59:49 -07:00
practicalswift
cc852042c9
[gardening] Fix accidental trailing whitespace.
2016-10-29 10:22:58 +02:00
Abdullah Abanmi
7657d89996
Fixed typos.
2016-08-03 08:23:42 +03:00
Abdullah Abanmi
4e1f8f0049
Added explanation for Copy-on-Write to footnote 4.
2016-08-02 09:42:49 +03:00
Antonio Alves
cee7d90458
Update OptimizationTips.rst
2016-07-30 08:30:43 -07:00
Jordan Rose
b5003f4c48
Private members may not satisfy protocol requirements, ever. ( #3842 )
...
* Private members may not satisfy protocol requirements, ever.
...because by construction they can be invoked from outside of the
type.
Finishing up SE-0025 ('private' and 'fileprivate').
* Update docs and mark SE-0025 ('private' and 'fileprivate') as done!
There's still improvements we can make (see 508e825f ), but the feature
is in place and should be working correctly.
2016-07-29 11:24:05 -07:00
Radek Pietruszewski
d1106c0782
Fixes typos in OptimizationTips.rst
2016-07-26 23:16:19 +02:00
Chris Lattner
9a82329116
Merge pull request #2229 from hitstergtd/hitstergtd-docfixes-2
...
[gardening] [docs] Properly capitalise 'swift' to 'Swift'
2016-04-17 15:29:07 -07:00
hitstergtd
1ccca9d0f0
[gardening] Properly capitalise 'swift' to 'Swift'
2016-04-17 20:53:48 +01:00
practicalswift
db452dcbe9
[gardening] "[ a, b ]" → "[a, b]"
2016-04-17 21:26:08 +02:00
Hitster GTD
d95921e5a8
[doc] Fix broken links, permanent redirects and Rust-related inconsistencies ( #2220 )
...
* Fix almost every broken link and perm redirect
- Fix Xref from OptimizationTips.rst to Specialization section in Generics.rst
to use Sphinx syntax instead of a direct link to GitHub
- Fix over 12 broken links and permanent redirects
* Fix Rust related inconsistencies and broken links
- Update to reflect Rust does not have three types of pointers anymore
- Replace broken links to deprecated Rust documentation with alternatives,
comparable references in new Rust documentation
2016-04-17 20:52:29 +02:00
Andrew Trick
8d10e04290
[docs] Fix a link to the Generics doc.
...
Most people aren't using sphinx to read the docs, so just slap a
github URL in place of a proper rst :ref:.
2016-04-14 14:56:49 -07:00
hitstergtd
b464548035
[docs] Doc and typo fixes ( #2098 )
...
* [docs] Doc and typo fixes
- properly hyphenate Objective-C
- replace *dynamicism* with *dynamism*
* [docs] Doc and typo fixes
- properly hyphenate Objective-C
- replace *dynamicism* with *dynamism*
2016-04-09 11:26:13 +02:00
Manav Gabhawala
7928140f79
[SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary
2016-04-06 20:21:58 -04:00
practicalswift
72c57c060c
[gardening] Fix recently introduced typo: "refererences accross" → "references across"
2016-04-05 21:27:44 +02:00
Arnold Schwaighofer
6cc8f68baa
Add an optimization tip about the use of Unmanaged._withUnsafeGuaranteedRef
2016-04-04 11:46:29 -07:00
Manav Gabhawala
ae929ee61b
[CHANGELOG][Docs] Update CHANGELOG and Docs to reflect new parsing of function parameter attributes like 'var', 'let' and 'inout' for SE-0003, SE-0031 and SE-0053
2016-03-29 17:06:23 -04:00
Andrew Trick
c38adb500e
[docs] Update optimization tips considering the presence of @_specialize.
2016-03-28 15:38:33 -07:00
Andrew Trick
42db97f6cb
[docs] Add OptimizationTips to the contents page.
2016-03-28 15:38:33 -07: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
ken0nek
fcd8fcee91
Convert [Cc]an not -> [Cc]annot
2015-12-23 00:55:48 +09: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