String concatenation for MLtone with help FFI call memmove
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Makefile
README
bench-mlton.mlb
bench-mlton.sml
bench-perl.pl
bench-poly.sml
mlton-string-concat.c
mlton-string-concat.sml

README

mlton-string-concat is concat with help FFI call memmove

Deprecated after 2017-09-04 - https://github.com/MLton/mlton/pull/192
https://sourceforge.net/p/mlton/mailman/mlton-user/thread/CAG%2BQnTcffmvXcpFv9rivvwdcsRXvUCorYVdEPmhjCE8EHEpOig%40mail.gmail.com/#msg35312358

Benchmark

                                      MLton    MLton with memmove   PolyML   Perl 
 string ^           (size is  1000)   0.284    0.035                0.062    0.050
 concat string list (size is     3)   0.020    0.020
 concat string list (size is  1000)   1.752    0.116                0.240    0.115
 concat string list (size is 10000)  16.957    0.632                2.087    0.462