Skip to content

Commit 9196f1a

Browse files
committed
fix site
1 parent ada0f19 commit 9196f1a

4 files changed

Lines changed: 3 additions & 5 deletions

File tree

jsSite/src/BenchmarkPlots.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ import scala.NamedTuple.AnyNamedTuple
44
import scala.annotation.meta.field
55
import upickle.default.*
66
import NamedTupleReadWriter.given
7-
import scala.annotation.experimental
87

9-
@experimental()
108
object BenchmarkPlots:
119
def addScalarBenchmark: String =
1210
val thePlot = BenchmarkPlotElements.schema ++

jsSite/src/PlotElements.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package vecxt.plot
22

3-
// import scala.NamedTuple.*
43
import scala.annotation.meta.field
54
import upickle.default.*
65
import NamedTupleReadWriter.given

jsSite/src/facade.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import org.scalajs.dom.Element
2929
import org.scalajs.dom.XMLHttpRequest
3030
import scala.annotation.experimental
3131

32-
@experimental()
3332
object showJsDocs:
3433
def apply(path: String, node: Element, width: Int = 50) =
3534
val child = dom.document.createElement("div")

site/docs/_blog/_posts/2025-06-04-Performance Perils.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ it's simply too natural to write
4646
For this, you pay a cca 10x performance cost, and it's actually pretty hard to see it's happening, unless you break out the profiler and zoom right in. I can't see a great ways around this. Operations at high risk of clashing, are therefore named with a SIMD suffix. The sensibly named counterparts remain, but it's on you to call them correctly.
4747

4848
```scala
49-
val a = Array[Double](1, 2, 3)
49+
import vecxt.all.*
50+
51+
val a = Array[Double](1, 2, 3, 6, 10, -100)
5052

5153
a.sumSIMD // SIMD optimized sum
5254
a.productSIMD // SIMD optimized product

0 commit comments

Comments
 (0)