2 ms·
Perl XS (the system used to interface with C) requires module == file, so if you have a particularly large module then it just has to live in a single file. He
by rwmj 5y ago
Perl XS (the system used to interface with C) requires module == file, so if you have a particularly large module then it just has to live in a single file. Here's one:
$ wc -l perl/lib/Sys/Guestfs.xs
11930 perl/lib/Sys/Guestfs.xs
Worse still, this expands to C which can be large and takes a noticable time to compile:
30019 perl/lib/Sys/Guestfs.c