Skip to content

Instantly share code, notes, and snippets.

klaplume

Block or report user

Report or block klaplume

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@klaplume
klaplume / GuavaTest
Last active Jan 2, 2016
Snippet that show the speed increase with (Guava) memoized Supplier
View GuavaTest
@Test
public void testGuavaSuppliers() throws InterruptedException
{
Supplier<Dummy> s = Suppliers.memoize(new Supplier<Dummy>()
{
@Override
public Dummy get()
{
return Dummy.foo;
}
You can’t perform that action at this time.