That only works if the neck can take the extra tension though,as brx says the construction needs to be good first and foremost, most basses over a grand have a pretty good neck, some cheaper basses have a great B with 34" but naturally the better necked basses tend to be expensive, this also helps as the electronics are often good too.
My double bass is around 39" 105cms?, the neck is stronger than any electric bass but the E string sounds just like an e string to me
I like my rays because they are a halfway house IMO, on one hand the B won't bother a dingwall or a Roscoe etc but on the other hand I quite like the timbre of the E on the B string and now favour it over the open e.