-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Persistent collections updates (part 8) #184
Persistent collections updates (part 8) #184
Commits on Sep 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8c9ae08 - Browse repository at this point
Copy the full SHA 8c9ae08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9407eff - Browse repository at this point
Copy the full SHA 9407effView commit details -
[tests] Delay checking Indices until we’re done with the collection i…
…tself Also, don’t check `DefaultIndices` — it’s fine to assume it implements Collection as long as the base collection is correct.
Configuration menu - View commit details
-
Copy full SHA for a453335 - Browse repository at this point
Copy the full SHA a453335View commit details -
Configuration menu - View commit details
-
Copy full SHA for eefef1e - Browse repository at this point
Copy the full SHA eefef1eView commit details -
[PersistentCollections] Implement structural index(_:offsetBy:) & ind…
…ex(_:offsetBy:limitedBy:)
Configuration menu - View commit details
-
Copy full SHA for 77f205f - Browse repository at this point
Copy the full SHA 77f205fView commit details -
[PersistentCollections] Fix indexing oversight when spawning a new ch…
…ild in a non-unique node Oops, this did not account for reversed item order, so it was spawning the new child with the wrong item.
Configuration menu - View commit details
-
Copy full SHA for 287c677 - Browse repository at this point
Copy the full SHA 287c677View commit details -
[PersistentCollections] Cache the item hash within collision nodes
This will simplify merge operations as we no longer have to spend effort on preventing repeated rehashings of items within collision nodes. Also, review and simplify node allocation and lookup code.
Configuration menu - View commit details
-
Copy full SHA for 9150bbf - Browse repository at this point
Copy the full SHA 9150bbfView commit details -
[PersistentCollections] Slightly optimize compressed path case in isS…
…ubset/isDisjoint
Configuration menu - View commit details
-
Copy full SHA for 2193e79 - Browse repository at this point
Copy the full SHA 2193e79View commit details -
[PersistentDictionary] Add a quick&dirty memory benchmark
The new executable target `memory-benchmark` collects some memory usage statistics and outputs average memory efficiency for a range of sizes in CSV format. Bump required toolchain version for benchmarks to Swift 5.5.
Configuration menu - View commit details
-
Copy full SHA for 92d1d12 - Browse repository at this point
Copy the full SHA 92d1d12View commit details
Commits on Sep 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d87f5fd - Browse repository at this point
Copy the full SHA d87f5fdView commit details
Commits on Sep 25, 2022
-
[PersistentSet] Add ExpressibleByArrayLiteral, Codable, Custom[Debug]…
…StringConvertible, CustomReflectable conformances
Configuration menu - View commit details
-
Copy full SHA for 00ae83d - Browse repository at this point
Copy the full SHA 00ae83dView commit details -
[PersistentSet] Flesh out isSubset/iSuperset/isDisjoint/etc overloads…
… (untested) This adds an experimental _FastMembershipCheckable protocol to speed up these relationship predicates when possible — having separate overloads for each known collection with a fast containment check is not going to scale for long. This commit also introduces a set of isEqual(to:) methods that generalize ==.
Configuration menu - View commit details
-
Copy full SHA for 3d10964 - Browse repository at this point
Copy the full SHA 3d10964View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c6e5cb - Browse repository at this point
Copy the full SHA 1c6e5cbView commit details -
[PersistentDictionary] Implement structural filter & compactMapValues
Plus add tests covering these as well and mapValues.
Configuration menu - View commit details
-
Copy full SHA for 826e22c - Browse repository at this point
Copy the full SHA 826e22cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c92b0fa - Browse repository at this point
Copy the full SHA c92b0faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 590dfeb - Browse repository at this point
Copy the full SHA 590dfebView commit details -
[PersistentDictionary] Add a structural initializer that takes a Pers…
…istentSet and a value transform
Configuration menu - View commit details
-
Copy full SHA for ba303dc - Browse repository at this point
Copy the full SHA ba303dcView commit details