If it was 32-bit, then it's probable the windows 7 install wasn't using all the memory, so there shouldn't have been a big difference.
And 4GB is enough for a blank windows 10 install doing some OS things and browsing. I don't think more memory helps that scenario.