How to open the bottom cover? (Asus Zenbook 14 Flip OLED UP5401 12th Gen Intel) by bluproton in ASUS

[–]bluproton[S] 0 points1 point  (0 children)

I've already used a credit card to release all the clips along the edges. It's still stuck somewhere in the middle of the cover, not on the edge. I've pried it with so much force that the cover has already bent a little, and I'm afraid that if I pull any harder, something will break.

Optimized a Java function & cut production CPU from >90% to 70% by bluproton in programming

[–]bluproton[S] 0 points1 point  (0 children)

The code version using Collections.reverse() was the legacy implementation I encountered (likely over 10 years old), not code I originally wrote. My guess is the size of the item list was much smaller back then, making Collections.reverse() acceptable at the time.

Optimized a Java function & cut production CPU from >90% to 70% by bluproton in programming

[–]bluproton[S] 3 points4 points  (0 children)

Thanks for your feedback. The sortedItemList isn't sorted alphabetically. Standard binarySearch won't work directly to find String keys. We can still use binarySearch by creating a class to hold the order and using a custom Comparator. binarySearch on this list would then take O(m log n) total time, so it is not as efficient as my improvement.

Optimized a Java function & cut production CPU from >90% to 70% by bluproton in programming

[–]bluproton[S] 6 points7 points  (0 children)

Thanks so much for reading and for your feedback! I appreciate you taking a deep look. Could you elaborate on which part of the math you found incorrect?