MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / rlist

Function rlist

scripts/test_stringzilla.py:418–421  ·  view source on GitHub ↗
(seq)

Source from the content-addressed store, hash-verified

416 assert native.split("\n", maxsplit=4) == list(big.split_iter("\n", maxsplit=4))
417
418 def rlist(seq):
419 seq = list(seq)
420 seq.reverse()
421 return seq
422
423 # Check for equivalence with native Python strings in reverse order, including boundary conditions
424 assert native.rsplit("line1") == rlist(big.rsplit_iter("line1"))

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…