When miner encountering a fork, one fork has less difficulty but longer in length, while the other fork is more difficult but short. Which fork should miners choose

?
Miners should generally choose the fork with the
longest length.
In blockchain
terminology, the length refers to the number of blocks on a particular fork. Choosing the longer fork ensures that the miner is contributing to the majority of the network's computing power, which enhances the security and stability of the blockchain.
Visualization of a blockchain fork event: the network reconverges on a new longest chain:http://talkimg.com/images/2023/05/14/msbt_0806443ad2e86c891195.png