对一个size大小在30w以上的List<Map<String ,Object>> list中的map依据map中某个键值对的值进行排序,速度快吗
小伙看你根骨奇佳,潜力无限,来学PHP伐。
Use the Collections.sort method directly. This method uses merge sort, and the time complexity is nlg(n). If you want to go faster, you need to analyze specifically which sorting algorithm is more suitable for your data.
Use the Collections.sort method directly. This method uses merge sort, and the time complexity is nlg(n). If you want to go faster, you need to analyze specifically which sorting algorithm is more suitable for your data.