in reply to RE: YES! I do
in thread Obfuscate my perl code
Evil self-modifying code was the only way you could get anything to work in non-glacial speed on the Apple. My friend Rick wrote an 8 direction generalized 8x8 pixel block move that self modified itself in a tight loop. It could smoothly move about 50 cells of 8x8 tiles faster than the screen refresh and was about 130ish bytes. The original way had taken over a 1k and he wanted more room for tiles. And yes, we explored modifying the code a bit to use it as graphic tiles first. =)
Writing in a memory budget was terrific for helping you think outside the box...
--
$you = new YOU;
honk() if $you->love(perl)
|
---|