• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gorgonia / tensor / 261 / 3
22%
master: 22%

Build:
DEFAULT BRANCH: master
Ran 10 Apr 2020 02:41AM UTC
Files 65
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Apr 2020 02:33AM UTC coverage: 73.094% (+0.06%) from 73.031%
GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1

push

travis-ci

web-flow
Repeat reuse with optimizations (#65)

* Added RepeatReuse API.

Right now any engine implementing Repeater is expected to also
implement RepeatReuse. This imposition is strictly unnecessary, but
also makes the number of possible combinations easier to handle for
now.

The reason for adding `RepeatReuse` is due to benchmarks done by
@mattn who has found that the `Repeat` function in Gorgonia causes a
lot of additional allocation. Given that gorgonia.org/gorgonia can
actually determine ahead of time how much space to use, a RepeatReuse
API was designed rapidly to allow taking advantage of that.

We cannot just tack on a `FuncOpt` to `Repeat` as the variadic
parameters are reserved for the number of repeats to be made. Thus a
new function `RepeatReuse` is required. Originally the name was
`RepeatWithReuse` but that is a rather long name.

* Added more examples to Repeat, if only as a method to document to myself

* Added some performance optimization to array and Repeat

* Ugh, a bit of a conflict cleanups (line end types)

12255 of 16766 relevant lines covered (73.09%)

18735.9 hits per line

Source Files on job 261.3 (GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1)
  • Tree
  • List 0
  • Changed 29
  • Source Changed 3
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 216
  • Travis Job 261.3
  • 7eee1af4 on github
  • Prev Job for GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1 on master (#258.2)
  • Next Job for GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1 on master (#263.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc