DD1 I was in for 3 days. She took that long to establish BFing, with a first baby I think you should be in for at least 24 hours after the birth to make sure the feeding is established however you feed your baby, I've seen bottle feeders also have problems establishing feeding, it's not just an issue for BFing.
DD2 I went in after breakfast and was home for tea, a very quick and straightforward birth and she was BFing immediately and repeatedly over the 6 hours post birth so no concerns there.
DS we were in 9 days but he was premature and had an infection and lost a lot of weight and had jaundice. So a series of complications. We got a private room though which was much better than being on the big ward but it was still a hideous experience but mainly because of being so concerned about him, for myself I was fine.
If you are in for a long time here are my top tips: only have sufficient clothes for 24 hours, get your DH to take a bag with clean clothes for you both in each day and take home the dirty clothes, it's roasting in hospitals so wear t-shirts and light trousers/skirts/dresses. No big jumpers. If DH works locally can he pop in at lunchtime or can a family member, it makes a big difference to your sanity to see friends and family during the day rather than having to wait for the evening. If you are not BFing (actually even if you are) if your health is fine then you'll be allowed to leave for a short time as long as someone stays with the baby (if you were transferred to paediatrics as we were then your DH can stay overnight with your LO if they aren't BFing, we did this the night DS was on a drip and I really benefited from a night in my own bed), it can really help your sanity. Breakfasts are pretty basic so have some breakfasty type snacks and drinks to supplement them (when I'm in the children's ward with DS I have access to a parent's kitchen, might be worth checking if there is one on maternity as well). Have lots of snacks (sweet and savoury), lots to drink (it's very hot), your mobile phone charger, a good book or magazines. Sleep during the day when it's quiet if you can because your nights will be very disturbed.