writeTo is memcpy() and applyRelocations(), but the former part is
too small that it doesn't make much sense to split it into two.
Details
Details
- Reviewers
sbc100
Diff Detail
Diff Detail
- Build Status
Buildable 15173 Build 15173: arc lint + arc unit
Event Timeline
Comment Actions
This doesn't seem strictly better to me. Seems like it only increases the complexity and the indentations of the code, and while decreasing re-usability. Is there a specific benefit? Shouldn't we prefer shorter and less nested functions?
Comment Actions
The patch to remove OutRelocation also contained this change, so this change was submitted as part of that. I do prefer shorter functions, but in this case it feels to me that writeTo does too less. That's probably a personal preference though.