Correct, the code-completion performance improvement is in 5.3.2 and later.
Could it be that vim is triggering code-completion less often than VSCode, specifically when you're typing base identifiers (ie. not after a ".")? The default config for VSCode does autocompletion as you type, whereas the default for vim itself is to only complete when you ask for it (though of course everything is configurable).