RAM has nothing to do with the handwriting performance. I'm skeptical that this is really an issue - what program are you using to take notes in? There are VAST differences in the performance of the Pencil depending on app. In the best of them, the Apple Pencil has by far the least amount of lag of any stylus available today. Having written literally thousands of pages of notes and writing with the Pencil and all manner of other styli, I imagine this is a combination of the adjustment period required in moving to digital writing, and the particular app you are using. Nothing to do with RAM.