Towards high-efficiency electrically-driven nanobeam lasers