Efficiency Expert
I am going through some code, cleaning up old constructs before a major release that's coming up. This takes me into some interesting places.
Today, I realized that there is a whole species of things that can be simplified by cutting out a lot of intervening code that is building unnecessary objects and doing unneeded lookups. I've patched a couple of places and will continue looking at the problem tomorrow.
Some of the fun, of course, is that we've moved up to Java 8 since this code was originally written which opens up all *sorts* of possibilities for playing with Java Streams. The amount of things that you can now do with one (longish) line of code is really impressive. :)
Today, I realized that there is a whole species of things that can be simplified by cutting out a lot of intervening code that is building unnecessary objects and doing unneeded lookups. I've patched a couple of places and will continue looking at the problem tomorrow.
Some of the fun, of course, is that we've moved up to Java 8 since this code was originally written which opens up all *sorts* of possibilities for playing with Java Streams. The amount of things that you can now do with one (longish) line of code is really impressive. :)