in reply to Compile perl for performance
I would go though the points listed in Nicholas Clark's "When Perl is Not Quite Fast Enough", which mostly suggests compiling a Perl without threads and some other compiler options for a "free" speed boost, provided you don't need the features. It also suggests some nastier stuff like opcode golf, but I assume that your main goal is to improve the program speed without changing the program itself.
I would also look at toggling the COW-feature and potentially switching the compiler flags to optimize for the target CPU architecture specifically.
Unfortunately, neither I nor Google seem to find the slides online. Maybe sending Nicholas an email prompts him to put the slides online somewhere.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Compile perl for performance
by learnedbyerror (Monk) on Aug 16, 2018 at 02:42 UTC |