OAKLAND — Plenty of factors contributed to this recent get-well five-game win streak from the Warriors. Included: The mass rest in San Antonio that preceded it, the rediscovery of Stephen Curry’s shot, the mediocre opponents and a strong team-wide commitment on the defensive end.

var _ndnq = _ndnq || []; _ndnq.push([’embed’]);

But Klay Thompson’s steady play has been as vital as any. Often the least discussed of the four All-Stars — without the brand appeal of Curry or Kevin Durant and the headline-making ability of Draymond Green — Thompson’s play is often just as tied to the team’s performance.

The Warriors are 37-5 when Thompson scores 20 or more points this season and 20-9 when he doesn’t. So when he’s off, they’re beatable (36.8 percent shooter in their losses) and when he’s on, they rarely lose (49.5 percent in their wins).

During this current five-game win streak over the Sixers, Magic, Bucks, Thunder and Mavericks, Thompson went for 28, 29, 21, 34 and 23 points — only the second time this season he’s scored more than 20 in at least five straight — making 55.3 percent of his shots and 25 of his 47 threes.

“He’s been extremely good,” Green said. “On both ends of the floor.”

Thompson is an NBA defensive rarity, considered solid despite below average counting stats. He doesn’t leap high or have notably quick hands, so he doesn’t block shots (0.5 per game) or create steals (0.8). But he’s a respected defender because of two important qualities: Thompson has plus-size for his position (a 6-foot-7, 215-pound shooting guard) and rare endurance.

Often tasked with guarding the best opposing perimeter player, Thompson has run 77.6 miles this season on the defensive end — the seventh most in the NBA, per the tracking data on NBA.com/Stats. And opponents are shooting only 41.5 percent against Thompson, 3.5 percentage points below their typical average.

“He’s a high-, high-caliber player,” David West said. “He’s just very unique in his stamina, his ability to move the entire game.”

What makes Thompson sturdy defensively — that size and stamina — adds to his uniqueness on the offensive end. He’s constantly on the move, navigating around screens and darting random ways in an effort to shed defenders (89.6 miles run offensively, 13th most in the NBA).

Warrior rookie Patrick McCaw has been guarding Thompson since the start of training camp and has quickly developed an appreciation for how different a defensive task it is to stick with him. McCaw’s guarded some of the league’s best scorers — Damian Lillard, Jimmy Butler, Dwyane Wade. Against them, it’s primarily about sticking in front on their dribble moves and powerful drives, knowing their tendencies.

With Thompson, it’s about the chase. While on the move, you must remain constantly focused, navigating through moving 7-foot road blocks while recognizing who has the ball. If you get detached for a second, you’ve lost.

“If you’re not there or a second late, you’re really not playing good defense honestly,” McCaw said. “You have to be where he is when he catches the ball.”

Because when he catches it, he shoots it. Thompson takes 9.1 catch and shoot jumpers per game. The next closest player in the league is Dirk Nowitzki at 7.6. Thompson takes 11.6 no-dribble shots per game (add those cutting layup attempts). The next closest guard is Eric Gordon at 7.6.

Click here if you’re having trouble viewing the photo gallery on your mobile device. Stay up to date on sports news with our free mobile app. Get it from the Apple app store or the Google Play store.

Then just as you get used to zipping around, remaining light on your feet, Thompson and his sturdy base bump you off-balance with a quick two-dribble move to create space for a 14-footer, just like he did to Victor Oladipo on a second quarter possession in OKC.

“Very unique,” West said. “Very bottom-heavy and strong at 6-6, 6-7.”

James Harden is the poster-boy for the efficiency movement, searching out either 3s or layups and rarely anything in between. The math supports it. And others have followed.

Harden has taken 647 3s and 321 shots at the rim this season, but only 184 mid-range shots between 10 feet and the 3-point line.Isaiah Thomas and Eric Gordan have similarly tilted ratios. Thomas: 548, 410 and only 167. Gordon: 580, 160 and only 56.

Thompson disperses his shots differently. This season, he’s taken 552 threes, 186 shots at the rim and 378 mid-range jumpers between 10 feet and the 3-point line. Those lower-efficiency 2s have become taboo in the analytics age. But in a way, that helps Thompson.

Defenders are getting increasingly used to guarding the court’s two hot spots. Thompson is one of the league’s most potent three-level players. There’s a randomness to his attack, which makes him hard to scout and predict. During this win streak, he took a baseline 16-footer in transition with 18 still on the shot clock and a rolling, fading 8-footer against a sagging shot blocker. Those are rare NBA shots.

Is there a proper comparison for Thompson?

“Nope,” David West said. “I mean, probably moves without the ball like (former Piston great) Rip (Hamilton). But his range is just ridiculous.”