Summary: - Rename to `combine_adjacent` for clarity - Reimplement without needing to filter out a dummy value, by keeping track of the numer of adjacent pairs that have been combined together - Use this counting to replace the probably-confusing lazy copy with explicit eager copy at the right time - Remove the now-unneeded dummy value argument Reviewed By: jvillard Differential Revision: D20482752 fbshipit-source-id: db80bbbe3master
parent
e3e7a376c5
commit
9382b8120b
Loading…
Reference in new issue