]> Repositorios git - scryer-prolog.git/commit
ENHANCED: dedicated faster branches for repositionable streams
authorMarkus Triska <[email protected]>
Thu, 17 Apr 2025 20:14:37 +0000 (22:14 +0200)
committerMark Thom <[email protected]>
Wed, 23 Apr 2025 06:33:11 +0000 (23:33 -0700)
commit442c5ff175a11bf4110980a588b4432b63ef96ff
treeb8bb86decd8a0ebe24237fd5f3b6de3df2fccae3
parentc278117c97b7ed5d975634afa2d55747a83ea423
ENHANCED: dedicated faster branches for repositionable streams

rebis-dev makes the speed difference especially apparent due to the
linear scan of strings on the heap in partial_string_tail/2 which is
now avoided for repositionable streams, notably files.

This addresses #2888 reported and analyzed by @haijinSk. Many thanks!
src/lib/pio.pl