├── .github └── workflows │ ├── build.yml │ ├── dependency-graph.yml │ ├── first-release.yml │ ├── publish.yml │ ├── release.yml │ └── site.yml ├── .gitignore ├── .jvmopts ├── .sbtopts ├── .scalafix.conf ├── .scalafmt.conf ├── LICENSE ├── README.md ├── project ├── build.properties └── plugins.sbt └── src ├── docs └── README.md ├── jmh └── scala │ └── JMHSample_10_ConstantFold.scala ├── main └── scala │ └── com │ └── github │ └── arturopala │ └── bufferandslice │ ├── ArrayBuffer.scala │ ├── ArrayBufferLike.scala │ ├── ArrayOps.scala │ ├── ArraySlice.scala │ ├── ArraySliceLike.scala │ ├── Buffer.scala │ ├── ByteBuffer.scala │ ├── ByteSlice.scala │ ├── DeferredArrayBuffer.scala │ ├── IndexTracker.scala │ ├── IntBuffer.scala │ ├── IntSlice.scala │ ├── LazyMapArraySlice.scala │ ├── RangeMapSlice.scala │ └── Slice.scala ├── site └── index.html └── test └── scala └── com └── github └── arturopala └── bufferandslice ├── AnyWordSpecCompat.scala ├── ArrayBufferSpec.scala ├── ArraySliceSpec.scala ├── ByteBufferSpec.scala ├── ByteSliceSpec.scala ├── DeferredArrayBufferSpec.scala ├── FunSuite.scala ├── IndexTrackerSpec.scala ├── IntBufferSpec.scala ├── IntSliceSpec.scala ├── LazyMapArraySliceSpec.scala └── RangeMapSliceSpec.scala /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/dependency-graph.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/.github/workflows/dependency-graph.yml -------------------------------------------------------------------------------- /.github/workflows/first-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/.github/workflows/first-release.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/site.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/.github/workflows/site.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/.gitignore -------------------------------------------------------------------------------- /.jvmopts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/.jvmopts -------------------------------------------------------------------------------- /.sbtopts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.scalafix.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/.scalafix.conf -------------------------------------------------------------------------------- /.scalafmt.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/.scalafmt.conf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/README.md -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=1.9.9 2 | -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/project/plugins.sbt -------------------------------------------------------------------------------- /src/docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/docs/README.md -------------------------------------------------------------------------------- /src/jmh/scala/JMHSample_10_ConstantFold.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/jmh/scala/JMHSample_10_ConstantFold.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/ArrayBuffer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/ArrayBuffer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/ArrayBufferLike.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/ArrayBufferLike.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/ArrayOps.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/ArrayOps.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/ArraySlice.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/ArraySlice.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/ArraySliceLike.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/ArraySliceLike.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/Buffer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/Buffer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/ByteBuffer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/ByteBuffer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/ByteSlice.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/ByteSlice.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/DeferredArrayBuffer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/DeferredArrayBuffer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/IndexTracker.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/IndexTracker.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/IntBuffer.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/IntBuffer.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/IntSlice.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/IntSlice.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/LazyMapArraySlice.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/LazyMapArraySlice.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/RangeMapSlice.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/RangeMapSlice.scala -------------------------------------------------------------------------------- /src/main/scala/com/github/arturopala/bufferandslice/Slice.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/main/scala/com/github/arturopala/bufferandslice/Slice.scala -------------------------------------------------------------------------------- /src/site/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/site/index.html -------------------------------------------------------------------------------- /src/test/scala/com/github/arturopala/bufferandslice/AnyWordSpecCompat.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/test/scala/com/github/arturopala/bufferandslice/AnyWordSpecCompat.scala -------------------------------------------------------------------------------- /src/test/scala/com/github/arturopala/bufferandslice/ArrayBufferSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/test/scala/com/github/arturopala/bufferandslice/ArrayBufferSpec.scala -------------------------------------------------------------------------------- /src/test/scala/com/github/arturopala/bufferandslice/ArraySliceSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/test/scala/com/github/arturopala/bufferandslice/ArraySliceSpec.scala -------------------------------------------------------------------------------- /src/test/scala/com/github/arturopala/bufferandslice/ByteBufferSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/test/scala/com/github/arturopala/bufferandslice/ByteBufferSpec.scala -------------------------------------------------------------------------------- /src/test/scala/com/github/arturopala/bufferandslice/ByteSliceSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/test/scala/com/github/arturopala/bufferandslice/ByteSliceSpec.scala -------------------------------------------------------------------------------- /src/test/scala/com/github/arturopala/bufferandslice/DeferredArrayBufferSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/test/scala/com/github/arturopala/bufferandslice/DeferredArrayBufferSpec.scala -------------------------------------------------------------------------------- /src/test/scala/com/github/arturopala/bufferandslice/FunSuite.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/test/scala/com/github/arturopala/bufferandslice/FunSuite.scala -------------------------------------------------------------------------------- /src/test/scala/com/github/arturopala/bufferandslice/IndexTrackerSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/test/scala/com/github/arturopala/bufferandslice/IndexTrackerSpec.scala -------------------------------------------------------------------------------- /src/test/scala/com/github/arturopala/bufferandslice/IntBufferSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/test/scala/com/github/arturopala/bufferandslice/IntBufferSpec.scala -------------------------------------------------------------------------------- /src/test/scala/com/github/arturopala/bufferandslice/IntSliceSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/test/scala/com/github/arturopala/bufferandslice/IntSliceSpec.scala -------------------------------------------------------------------------------- /src/test/scala/com/github/arturopala/bufferandslice/LazyMapArraySliceSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/test/scala/com/github/arturopala/bufferandslice/LazyMapArraySliceSpec.scala -------------------------------------------------------------------------------- /src/test/scala/com/github/arturopala/bufferandslice/RangeMapSliceSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturopala/buffer-and-slice/HEAD/src/test/scala/com/github/arturopala/bufferandslice/RangeMapSliceSpec.scala --------------------------------------------------------------------------------