Michael Ilseman
436475fb99
[string] ARC hack around hashValue
...
Avoid a source of ARC for hashValue, which is perf-sensitive
especially for hashed collection growth.
This improves the Dictionary benchmark by around 30%.
2018-01-23 21:43:17 -08:00
Karoy Lorentey
90e894729a
[StringGuts] Linux support
...
Add support for compiling StringGuts without the Objective-C runtime.
2018-01-21 12:37:36 -08:00
Michael Ilseman
3be2faf5d3
[String] Initial implementation of 64-bit StringGuts.
...
Include the initial implementation of _StringGuts, a 2-word
replacement for _LegacyStringCore. 64-bit Darwin supported, 32-bit and
Linux support in subsequent commits.
2018-01-21 12:32:26 -08:00
Slava Pestov
c272d41e2f
Re-apply "SIL: Remove special meaning for @_semantics("stdlib_binary_only")"
...
With -sil-serialize-all gone, this no longer means anything; just
don't declare the function as @_inlineable instead.
Fixes <rdar://problem/34564380>.
2017-10-04 14:07:52 -07:00
Jordan Rose
aab5f7aa4f
Revert "SIL: Remove special meaning for @_semantics("stdlib_binary_only")" ( #12270 )
...
It still affects StdlibUnittest, which is still using -sil-serialize-all.
2017-10-04 12:49:21 -07:00
Slava Pestov
0fad13eeba
SIL: Remove special meaning for @_semantics("stdlib_binary_only")
...
With -sil-serialize-all gone, this no longer means anything; just
don't declare the function as @_inlineable instead.
Fixes <rdar://problem/34564380>.
2017-10-03 13:48:22 -07:00
Max Moiseev
ef6b5c4795
Add missing @_inlineable attributes and deinits
2017-09-29 11:26:56 -07:00
Max Moiseev
53b8419279
[stdlib] Make all the stdlib APIs @_inlineable
...
This change in theory should allow us to remove a special stdlib-only
sil-serialize-all compilation mode.
<rdar://problem/34138683>
2017-09-29 11:26:56 -07:00
Dave Abrahams
97f875ad84
[stdlib] De-underscore Unicode "namespace"
2017-05-11 15:23:25 -07:00
Ben Cohen
d8be7ae29e
Use CF for Hashing ( #9203 )
2017-05-03 05:42:40 -07:00
practicalswift
6d1ae2a39c
[gardening] 2016 → 2017
2017-01-06 16:41:22 +01:00
practicalswift
797b80765f
[gardening] Use the correct base URL ( https://swift.org ) in references to the Swift website
...
Remove all references to the old non-TLS enabled base URL (http://swift.org )
2016-11-20 17:36:03 +01:00
Dmitri Gribenko
e8e8b35610
stdlib: use SipHash-1-3 for string hashing on non-ObjC platforms
...
Part of rdar://problem/24109692
2016-09-06 20:41:03 -07:00
Dmitri Gribenko
77813904f8
stdlib: replace error-prone pairs of isASCII/startASCII calls with an API that returns Optional
2016-09-05 22:47:24 -07:00
Dmitri Gribenko
c314b599fc
stdlib: move 'String : Hashable' conformance to a separate file
...
I'm about to add more code around it.
2016-09-02 19:34:14 -07:00