Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtsushi Kanamori <AtsushiKan@users.noreply.github.com>2016-11-16 00:15:16 +0300
committerStephen Toub <stoub@microsoft.com>2016-11-16 00:15:16 +0300
commitccc44b7b2e9145251e2ca98bbe0936938ed94379 (patch)
treeea7795310a027a6f0ac72bc83245ab5be7394159 /pkg/descriptions.json
parent0300e2c42e3ce96240e05daff6f6c5a5e03081a6 (diff)
Portable (and thus slower) version of Span<> (#13562)
* Rebase to make review readable again. * Remove the type casts from DangerousGetPinnedReference - store object as Pinnable<T> * Removed stable version list. * DangerousCreate gets more Dangerous... * Updated dependency versions *again*. * IsReferenceFree fast-paths for common primitives. * Move exception throwing out of inline code. * Remove Windows-only restriction. * Remove baseline version. * Don't hardcode array header size. * Another dependency version change! What's the matter, don't we have any version numbers you like?? * Version => 4.0.0.0 * Use Unsafe.Add rather than SpanHeloer.Add in this[index] (all this repeated source is annoying - unfortunately, Rosylin at this point at least, insists that "ref" variables be initialized once only at declaration point and doesn't allow the conditional ternary operator on ref types. This makes it hard to manually inline DangerousGetPinnableReference in a nice way...) * ThrowHelper.Throw ==> throw ThrowHelper.Create Allow JIT to recognize the throw path as a no-return path so it can throw it into the cold region. * Revert the specific primitive type checks in IsReferenceFree(). It pessimizes the routine on the desktop CLR. * Fix DangerousGetPinnableReference to be a method to match spec. * PR feedback. Description: "Provide classes" => "Provide types" Add fastpath for specific types in IsReferenceFree Make MeasureArrayAdjustment a PerTypeValues private * More concise operator== Eh... hard to tell with all the noise but it did seems to shave a couple of percentage points off. * Follow Ben's suggested ThrowHelper pattern. * Update ThrowHelper comments based on Ben's feedback. * Remove trailing whitespace. * Dependency bump. Again... * Fix up some tests so the IL is Span-legal. Ah, the fun of writing Span code w/out stack-only enforcement. * Add a reference assembly and some of the plumbing... ...to typeforward on CoreClr. Right now, CoreClr fails 44 out of 55 tests so I believe it's premature to throw the switch just yet. This just gets some of the grunt work out of the way. * Add C#6.0 workaround. After chatting offline, we'll accomodate C# 6.0 for now by having the indexer return "T" rather than "ref T". Some performant code require the "ref T" version so as another stopgap, we'll provide a GetItem() method that returns "ref T". Once the tooling story is in better shape, we'll merge GetItem() and the indexer into a single indexer that returns "ref T". * Dependency update again. This is getting really monotonous.
Diffstat (limited to 'pkg/descriptions.json')
-rw-r--r--pkg/descriptions.json9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkg/descriptions.json b/pkg/descriptions.json
index 19598cf4ef..3e916cf3c8 100644
--- a/pkg/descriptions.json
+++ b/pkg/descriptions.json
@@ -834,6 +834,13 @@
]
},
{
+ "Name": "System.Memory",
+ "Description": "Provides types for efficient low-allocation access to memory.",
+ "CommonTypes": [
+ "System.Span",
+ ]
+ },
+ {
"Name": "System.Net.Http",
"Description": "Provides a programming interface for modern HTTP applications, including HTTP client components that allow applications to consume web services over HTTP and HTTP components that can be used by both clients and servers for parsing HTTP headers.",
"CommonTypes": [
@@ -1630,7 +1637,7 @@
"System.ServiceProcess.ServiceType"
]
},
- {
+ {
"Name": "System.Text.Encoding",
"Description": "Provides base abstract encoding classes for converting blocks of characters to and from blocks of bytes.",
"CommonTypes": [