summaryrefslogtreecommitdiff
path: root/caretx.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2013-12-01 12:16:09 -0800
committerFather Chrysostomos <sprout@cpan.org>2013-12-01 12:18:27 -0800
commit2ac0bcb359f70c09dbac03debcd0a60e8bb49294 (patch)
tree0f25218e4ace5c7b388e7dcfc0c239ca97fa456a /caretx.c
parentdeed50f208b2fcb0f4861342698ad482b4f2fe60 (diff)
downloadperl-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