May be worth testing it against getElementsByClassName(), which also returns a live collection.
Many many years ago I recall querySelector starting out with a check for #someCSSIdentifier and shortcutting to the getElementById path, but maybe my memory is playing tricks on me.