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

j-richey / open_ttt_lib / 90
91%
master: 92%

Build:
Build:
LAST BUILD BRANCH: v0.2.2
DEFAULT BRANCH: master
Ran 14 May 2021 04:05AM UTC
Jobs 1
Files 5
Run time 1s
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

pending completion
90

push

travis-ci-com

j-richey
Use single vector for Board squares storage

The vector of vectors previously used was a good representation of a
tic-tac-toe board. However, cloning the board required heap allocations
for each of those vectors.

This commit uses a single vector to hold all the squares. The code
uses the given position to calculate the index into vector. E.g. it uses
squares vector like a special case hash table.

The reduction in heap allocs reduces the worst case AI move time by 30%.

894 of 982 relevant lines covered (91.04%)

1.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 90.1 14 May 2021 04:05AM UTC 0
91.04
Travis Job 90.1
Source Files on build 90
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #90
  • a5123f94 on github
  • Next Build on issue-41-improve-speed-on-windows (#91)
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

© 2025 Coveralls, Inc