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

gorgonia / tensor / 261
22%

Build:
DEFAULT BRANCH: master
Ran 10 Apr 2020 02:38AM UTC
Jobs 3
Files 65
Run time 2min
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%
261

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%)

55515.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 261.1 (GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1) 10 Apr 2020 02:38AM UTC 0
73.08
Travis Job 261.1
2 261.2 (GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1) 10 Apr 2020 02:38AM UTC 0
73.09
Travis Job 261.2
3 261.3 (GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1) 10 Apr 2020 02:41AM UTC 0
73.09
Travis Job 261.3
Source Files on build 261
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #261
  • 7eee1af4 on github
  • Prev Build on master (#258)
  • Next Build on master (#263)
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