Skip to content

Commit

Permalink
size prematerialize
Browse files Browse the repository at this point in the history
  • Loading branch information
Baunsgaard committed Oct 21, 2024
1 parent 2b02286 commit fef9ef0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ public synchronized final Map<T, Long> getRecodeMap() {
protected Map<T, Long> createRecodeMap() {
final Map<T, Long> map = new HashMap<>();
long id = 1;
for(int i = 0; i < size(); i++)
final int s = size();
for(int i = 0; i < s; i++)
id = addValRecodeMap(map, id, i);

return map;
Expand Down

0 comments on commit fef9ef0

Please sign in to comment.