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

gorgonia / tensor / 252
22%

Build:
DEFAULT BRANCH: master
Ran 17 Mar 2020 11:39PM 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

17 Mar 2020 11:35PM UTC coverage: 73.031% (-0.006%) from 73.037%
252

push

travis-ci

web-flow
Added RepeatReuse API. (#62)

* 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

12210 of 16719 relevant lines covered (73.03%)

56246.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 252.1 (GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1) 17 Mar 2020 11:39PM UTC 0
73.01
Travis Job 252.1
2 252.2 (GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1) 17 Mar 2020 11:39PM UTC 0
73.03
Travis Job 252.2
3 252.3 (GOARCH=amd64 BLAS_LIB=OpenBLAS TRAVISTEST=true CUDA=9.1.85-1) 17 Mar 2020 11:42PM UTC 0
73.03
Travis Job 252.3
Source Files on build 252
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #252
  • fccf77b7 on github
  • Prev Build on master (#249)
  • Next Build on master (#255)
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