Commit Graph

7 Commits

Author SHA1 Message Date
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
Andrew Trick
73106dd7c3 Rename initialize(with:count:) to initialize(to:count:). (#3601)
As proposed in SE-0107: UnsafeRawPointer.

"with" is considered a vacuous preposition. "to" implies direction.
2016-07-18 23:37:45 -07:00
Dmitri Gribenko
d74b1834f8 stdlib: Dictionary, Set: stop overallocating the bitmap
The 'sizeInWords(forSizeInBits:)' function was supposed to return the
size in words, but returned the size in bits, overallocating the bitmap
by a factor of 32 or 64, depending on the platform.
2016-05-23 21:12:13 -07:00
Dmitri Gribenko
7c7c42ced2 stdlib: add basic tests for _UnsafeBitMap 2016-05-23 18:41:39 -07:00
Dmitri Gribenko
0b4162bef0 stdlib: make the argument label in _UnsafeBitMap.sizeInWords more clear to avoid bits vs. bytes vs. words confusion 2016-05-23 18:41:39 -07:00
Dmitri Gribenko
b811f929ef stdlib: rename _BitMap to _UnsafeBitMap
_BitMap is nothing more than a convenience wrapper around an
UnsafeMutablePointer.
2016-05-23 18:41:39 -07:00
Dmitri Gribenko
389fa5fc69 stdlib: move _BitMap to its own file 2016-05-23 18:41:39 -07:00