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

gonzedge / rambling-trie / #354
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 01 Dec 2024 09:18PM UTC
Jobs 1
Files 27
Run time 1min
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

01 Dec 2024 09:17PM UTC coverage: 100.0%. Remained the same
#354

push

web-flow
Use `Array#slice(i, slice_size)` instead `Array#slice(i..j)` of for `Container#words_within` (#71)

For performance improvements in `words_within` lookups, particularly for
compressed tries.

Also:
- Use `{ }` for blocks instead of `do/end` when they are one-liners
- Use `String#<<` for `Stringifyable`

Diff only showing significant changes:

```diff
 ==> Creation - `Rambling::Trie.create`
 5 iterations -
-                                4.855819   0.118155   4.973974 (  4.973661)
+                                4.737132   0.141721   4.878853 (  4.881739)

...

 ==> Lookups (compressed trie) - `partial_word?`
 200000 iterations - hi                  true
-                                0.597133   0.011527   0.608660 (  0.609033)
+                                0.553478   0.011539   0.565017 (  0.565341)
 200000 iterations - help                true
-                                0.947303   0.007436   0.954739 (  0.955090)
+                                0.909498   0.007411   0.916909 (  0.921346)
 200000 iterations - beautiful           true
-                                1.850720   0.007841   1.858561 (  1.859102)
+                                1.742425   0.007169   1.749594 (  1.751114)
 200000 iterations - impressionism       true
-                                2.595663   0.017449   2.613112 (  2.634528)
+                                2.399570   0.016534   2.416104 (  2.426225)
 200000 iterations - anthropological     true
-                                2.476745   0.011683   2.488428 (  2.489334)
+                                2.336806   0.011436   2.348242 (  2.350403)

 ==> Lookups (raw trie) - `scan`
 1000 iterations - hi                    495
-                                1.669670   0.007410   1.677080 (  1.677776)
+                                1.613825   0.006021   1.619846 (  1.620073)
 100000 iterations - help                20
-                                6.401990   0.02865... (continued)

22 of 22 new or added lines in 11 files covered. (100.0%)

535 of 535 relevant lines covered (100.0%)

1311.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #354.1 01 Dec 2024 09:18PM UTC 27
100.0
Source Files on build #354
  • Tree
  • List 27
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 60ce956c on github
  • Prev Build on main
  • Next Build on main
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