Hacker News new | ask | show | jobs
by julianh65 1120 days ago
I've used it a lot for making tweaks to react components and one change that I've noticed is that when I used to paste in entire component files and ask for modifications it would reply back to me with the entire file with tweaks and edits. Now it seems to only reply with the tweaked parts and comments in this form

// Your previous code here

foo(bar) // added foo() call here to do xyz

If I were to speculate I would say that this would reduce the amount of work it has to do in that it needs to generate less content and the replies are shorter but I feel like this has a slightly performance loss. I'm not sure exactly why there's a performance loss but I could see it being the case where generating the entire file with specific line edits could allow for better predictions on the code / file versus trying to only reply with the changes needed. I wonder if this is a tweak in the prompt or if the model itself is different.