- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_lookupPerformance_SetFasterThanArray (0.16 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java
/** * Test performance improvement of Set-based lookup over array-based lookup. * This is a micro-benchmark to demonstrate the O(1) vs O(n) improvement. */ @Test public void test_lookupPerformance_SetFasterThanArray() { // Create a large array of fields int fieldCount = 1000; String[] fields = new String[fieldCount]; for (int i = 0; i < fieldCount; i++) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.4K bytes - Click Count (0)