|
|
| P is for Practical | |
| PerlMonks |
Comment on |
| ( #3333=superdoc: print w/ replies, xml ) | Need Help?? |
|
Historically, Perl has always favored using more memory over using more CPU.
Is this still the best optimization with new CPU architectures, specifically the ones with large CPU caches? I believe it not to be. But Perl5.X won't be changed for that. I have the impression that Parrot's VM is using a register architecture just for the reason of taking advantage of the large CPU caches. But Ponie (Perl5 running on Parrot) isn't here yet. So I was wondering if there are monks out there that have found any (new) coding idioms in (today's) Perl that favor using CPU over memory, and have found them to be faster than a (old) coding idiom (favoring memory over CPU). Even when using today's Perl. Liz Title edit by tye In reply to Out-Of-Date Optimizations? New Idioms? RAM vs. CPU by liz
|
|