Changeset 10103


Ignore:
Timestamp:
10/15/05 15:41:37 (16 years ago)
Author:
piso
Message:

psxhash(): iterate up to limit, not length.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/AbstractVector.java

    r9788 r10103  
    244244            final int limit = length < 4 ? length : 4;
    245245            long result = 48920713; // Chosen at random.
    246             for (int i = 0; i < length; i++)
     246            for (int i = 0; i < limit; i++)
    247247                result = mix(result, AREF(i).psxhash());
    248248            return (int) (result & 0x7fffffff);
Note: See TracChangeset for help on using the changeset viewer.