diff options
author | Father Chrysostomos <sprout@cpan.org> | 2013-12-01 12:16:09 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-12-01 12:18:27 -0800 |
commit | 2ac0bcb359f70c09dbac03debcd0a60e8bb49294 (patch) | |
tree | 0f25218e4ace5c7b388e7dcfc0c239ca97fa456a /caretx.c | |
parent | deed50f208b2fcb0f4861342698ad482b4f2fe60 (diff) | |
download | perl-2ac0bcb359f70c09dbac03debcd0a60e8bb49294.tar.gz |
sv.c: Rewrite COW logic
for readability, maintainability, and my sanity.
The comment about swipe and COW having ‘much in common’ notwithstand-
ing (actually they only shared two lines of code), I separated those
two code paths, splitting the horribly complex ‘if’ condition into
two. I also made the code slightly more repetitive, resulting in
fewer #ifdefs and more clarity.
Diffstat (limited to 'caretx.c')
0 files changed, 0 insertions, 0 deletions