So. . . can we conclude this thread?
Gnomes are superior. They have magic, cute pets, creative defenses, fun inventions, and awesomely annoying accents. Rock Gnomes are awesome crafters, Deep Gnomes are grumpy miners, and Forest Gnomes are tiny illusionists that can make tiny entrances to their underground homes inside hollowed-out trees.
What do halflings have? Well, um, they're short, so they can move through larger creatures' spaces. They are also extremely brave, for some strange "reasoning", and they're lucky . . . which only "makes sense" on the Forgotten Realms/Greyhawk. Lightfoot Halflings . . . are even more stealthy than the already stealthy base race, Stout Halflings . . . are trying to be dwarves for some reason, and all the other subraces are setting-specific. (Ghostwise Halflings are cool, but their telepathy isn't given an explanation, Dragonmarked Halflings are both cool because Eberron, and Lotusden Halflings are awesome and what every PHB halfling should aspire to be). They also protect their settlements by . . . no explanation.
Gnomes have an explanation for how they protect their settlements (illusion magic, underground settlements), Humans have some (Guards and Soldiers), Elves have multiple (magic, weapons, speed, etc), Dwarves have multiple (underground/strongholds, weapons, armor), and so on.
Halflings just don't work as well as gnomes. They're not distinct enough from humans, have lore issues in non FR settings, and have basically only one stereotypical archetype (rogue), while the Gnome race has multiple (artificer, illusionist, druid/ranger, rogue). They feel like they're only here because of Tolkien and only because of Tolkien, not because they have any business being in D&D. They're a sacred cow that either needs to be dumped or changed to be more interesting and sensical.
Ruling: Halflings are inferior.