ku-progsys / rbsyn

Program synthesis for Ruby
BSD 3-Clause "New" or "Revised" License
94 stars 4 forks source link

envref can be used for depth != 0 #23

Open ngsankha opened 4 years ago

ngsankha commented 4 years ago

we only look up envref when filling holes at depth 0. They can also be used for higher depths.

The reasoning for this was the synthesis engine if stumbles across the same expression we can bump up the count. This is slow a lot of times, and reusing old expressions smartly can help.