Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1272d80

Browse files
education
1 parenta9a0762 commit1272d80

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎zip/Huff.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ of this software and associated documentation files (the "Software"), to deal
2929
/**
3030
* JSONzip is a compression scheme for JSON text.
3131
* @author JSON.org
32-
* @version 2014-05-03
32+
* @version 2014-05-20
3333
*/
3434

3535
/**
@@ -53,6 +53,11 @@ public class Huff implements None, PostMortem {
5353
*/
5454
privatefinalintdomain;
5555

56+
/**
57+
* The number of characters to process before generation is no longer done.
58+
*/
59+
publicstaticfinalinteducation =1000000;
60+
5661
/**
5762
* An array that maps symbol values to symbols.
5863
*/
@@ -140,7 +145,7 @@ public boolean postMortem(PostMortem pm) {
140145
*/
141146
publicHuff(intdomain) {
142147
this.domain =domain;
143-
this.toLearn =1000000;
148+
this.toLearn =education;
144149
intlength =domain *2 -1;
145150
this.symbols =newSymbol[length];
146151

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp