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

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

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

12 May 2021 10:45PM UTC coverage: 91.039%. First build
90.1

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

Source Files on job 90.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 50
  • Travis Job 90.1
  • a5123f94 on github
  • Next Job for on issue-41-improve-speed-on-windows (#91.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