Robin Lee

Results 5 comments of Robin Lee

After optimising out the glEnable/glDisable calls, the GPU trace tool shows us the following time breakdown per 18ms frame, with and without particles enabled, respectively: ![image](https://user-images.githubusercontent.com/1494407/71634060-0a7d2680-2c19-11ea-8d0f-bdc049a13410.png) Calls highlighted in blue...

Good point. Would shadowing the methods work for you? If not, the option I had originally considered was just renaming the methods to something like getOptionalFirst and getOptionalLast so that...

Updated the PR to use shadowing for now.

It's unfortunate that JDK created different canonical signatures for getFirst/getLast from the ones added here (this issue affected many other projects that created custom getFirst/getLast too). However, JDK will never...

For completeness: the one other modification that would be possible to make the project compile on modern versions of Java while leaving the custom `getFirst()` and `getLast()` in place would...