From a9c8189c71a57f7496ce4b2fa728cfb1513ce0c5 Mon Sep 17 00:00:00 2001 From: c Date: Tue, 14 Jan 2025 20:35:54 -0700 Subject: [PATCH] Updated feature list and removed strikethrough formatting from documentation. --- README.md | 30 +++++++++++++++--------------- docs/FeatureGrid.md | 16 ++++++++-------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 2aba120..e6582d4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # NArr -Pronounced: (ˈnär, as in gnarly).
-Stands for: Native Array
+Pronounced: (ˈnär, as in gnarly).
+Stands for: Native Array
Definition: A unified and optimized interface over native array types for Scala cross projects.    At its core, NArr provides the `narr.NArray[T]` type which, as a drop in replacement for `scala.Array[T]` and `js.Array[T]`, always reduces to the most optimized native array type available on the compilation target platform. `NArray[T]` also provides seamless interoperability with native array types without any platform specific code. @@ -8,9 +8,9 @@ Definition: A unified and optimized interface over native array types for Scala Examples: - - - + + +
NArray DeclarationJavaScriptJVM and NativeNArray DeclarationJavaScriptJVM and Native
@@ -72,7 +72,7 @@ and the most relevant subset of the JavaScript `TypedArray` family: `Int8Array`,
Click here to compare NArr features to those built into Scala JVM/Native and Scala.js. -Advantages:
+Advantages:
  • Performance!
    @@ -82,7 +82,7 @@ and the most relevant subset of the JavaScript `TypedArray` family: `Int8Array`,   When writing a cross compiled Scala.js library with accessibility from native languages, developers have to pay attention to `@JSExport` annotations and make sure that every method or field of type Array has an analogous `js.Array` exposed in the JavaScript build. By simply replacing all references to `js.Array` or `Array` with `NArray`, the same methods and fields will interoperate seamlessly with code in either run time environment.
-Caveats:
+Caveats:
   Although the `TypedArray` family of data structures avoids the following issues, they pertain to the more ubiquitous `js.Array`.
  • Type Safety Concerns.
    @@ -151,19 +151,19 @@ sla.sort(Ordering.Long) // Better pass the ordering explicitly!
-When to use NArr: +When to use NArr: - - - - + + + + - - - + + + diff --git a/docs/FeatureGrid.md b/docs/FeatureGrid.md index 7ad027b..c8c8bb0 100644 --- a/docs/FeatureGrid.md +++ b/docs/FeatureGrid.md @@ -537,7 +537,7 @@ def scanLeft[ B : ClassTag ](z: B)(op: (B, T) => B): Array[B] - + - + - + - + - + - + - + - +
Array DependencyConveniencePerformance IncreaseNotesArray DependencyConveniencePerformance IncreaseNotes
JSJVMNativeJSJVMNative
@@ -559,7 +559,7 @@ def scanRight[ B : ClassTag ](z: B)(op: (T, B) => B): Array[B]
@@ -653,7 +653,7 @@ def collect[B: ClassTag](pf: PartialFunction[T, B]): Array[B]
@@ -664,7 +664,7 @@ def collectFirst[B](pf: PartialFunction[T, B]): Option[B]
@@ -732,7 +732,7 @@ def :+ [B >: T : ClassTag](x: B): Array[B]
@@ -754,7 +754,7 @@ def +: [B >: T : ClassTag](x: B): Array[B]
@@ -765,7 +765,7 @@ def prependedAll[B >: T : ClassTag](prefix: IterableOnce[B]): Array[B]
@@ -876,7 +876,7 @@ def ++[B >: T : ClassTag](xs: IterableOnce[B]): Array[B]