]> 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]>
Tue, 8 Jul 2025 05:38:12 +0000 (22:38 -0700)
commitbf31d3f9a9e1d4eb14831e2b38941826e925964f
tree0164f94d8be164ffcf775339e07ceec2f8d0f36f
parent4c46f0e54df9448d832ae0c701d6e47c51605280
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