Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Optimization for OrDocIdSet, AndDocIdSet, etc #4

Open
wants to merge 1 commit into from

1 participant

Joshua Hartman
Joshua Hartman

... initializing taking 10% of search time when profiling uscp-search.

Joshua Hartman ImmutableDocSet's logger should be static & final. I actually found t…
…his initializing taking 10% of search time when profiling uscp-search.
262b83f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 14, 2013
  1. ImmutableDocSet's logger should be static & final. I actually found t…

    Joshua Hartman authored
    …his initializing taking 10% of search time when profiling uscp-search.
This page is out of date. Refresh to see the latest.
2  src/main/java/com/kamikaze/docidset/impl/ImmutableDocSet.java
View
@@ -13,7 +13,7 @@
private static final long serialVersionUID = 1L;
private int size = -1;
- private Logger log = Logger.getLogger(ImmutableDocSet.class.getName());
+ private static final Logger log = Logger.getLogger(ImmutableDocSet.class.getName());
@Override
public void addDoc(int docid)
Something went wrong with that request. Please try again.