Skip to content

Commit

Permalink
リリースノート更新. #244
Browse files Browse the repository at this point in the history
  • Loading branch information
x022235 committed Apr 29, 2012
1 parent 1488389 commit 218fad7
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions docs/release-note-0.2.2.238.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,35 +409,36 @@ xyzzy Lisp 開発者向け機能追加
(count (hash-table-count h))
(prev-count (1- count)))
(when (/= prev-size size)
(format t "~5D/~5D (~5,2F) => ~5D/~5D (~5,2F): x ~4,2F~%"
(format t "~5D/~5D (~5,2F) => ~5D/~5D (~5,2F) x ~4,2F~%"
prev-count prev-size (/ prev-count prev-size)
count size (/ count size)
(/ size prev-size))
(setf prev-size size)
)))))
```lisp
=> print-hash-table-rehash

```
(print-hash-table-rehash :rehash-threshold 0.8 :rehash-size 1.5)
14/ 17 ( 0.82) => 15/ 47 ( 0.32): x 2.76
38/ 47 ( 0.81) => 39/ 101 ( 0.39): x 2.15
81/ 101 ( 0.80) => 82/ 199 ( 0.41): x 1.97
160/ 199 ( 0.80) => 161/ 307 ( 0.52): x 1.54
246/ 307 ( 0.80) => 247/ 499 ( 0.49): x 1.63
400/ 499 ( 0.80) => 401/ 797 ( 0.50): x 1.60
638/ 797 ( 0.80) => 639/ 1499 ( 0.43): x 1.88
1200/ 1499 ( 0.80) => 1201/ 2999 ( 0.40): x 2.00
2400/ 2999 ( 0.80) => 2401/ 4999 ( 0.48): x 1.67
4000/ 4999 ( 0.80) => 4001/ 8009 ( 0.50): x 1.60
6408/ 8009 ( 0.80) => 6409/19997 ( 0.32): x 2.50
14/ 17 ( 0.82) => 15/ 47 ( 0.32) x 2.76
38/ 47 ( 0.81) => 39/ 101 ( 0.39) x 2.15
81/ 101 ( 0.80) => 82/ 199 ( 0.41) x 1.97
160/ 199 ( 0.80) => 161/ 307 ( 0.52) x 1.54
246/ 307 ( 0.80) => 247/ 499 ( 0.49) x 1.63
400/ 499 ( 0.80) => 401/ 797 ( 0.50) x 1.60
638/ 797 ( 0.80) => 639/ 1499 ( 0.43) x 1.88
1200/ 1499 ( 0.80) => 1201/ 2999 ( 0.40) x 2.00
2400/ 2999 ( 0.80) => 2401/ 4999 ( 0.48) x 1.67
4000/ 4999 ( 0.80) => 4001/ 8009 ( 0.50) x 1.60
6408/ 8009 ( 0.80) => 6409/19997 ( 0.32) x 2.50
=> nil

(print-hash-table-rehash :rehash-threshold 1.0 :rehash-size 3.0)
17/ 17 ( 1.00) => 18/ 101 ( 0.18): x 5.94
101/ 101 ( 1.00) => 102/ 307 ( 0.33): x 3.04
307/ 307 ( 1.00) => 308/ 997 ( 0.31): x 3.25
997/ 997 ( 1.00) => 998/ 2999 ( 0.33): x 3.01
2999/ 2999 ( 1.00) => 3000/ 8999 ( 0.33): x 3.00
8999/ 8999 ( 1.00) => 9000/29989 ( 0.30): x 3.33
17/ 17 ( 1.00) => 18/ 101 ( 0.18) x 5.94
101/ 101 ( 1.00) => 102/ 307 ( 0.33) x 3.04
307/ 307 ( 1.00) => 308/ 997 ( 0.31) x 3.25
997/ 997 ( 1.00) => 998/ 2999 ( 0.33) x 3.01
2999/ 2999 ( 1.00) => 3000/ 8999 ( 0.33) x 3.00
8999/ 8999 ( 1.00) => 9000/29989 ( 0.30) x 3.33
=> nil
```


Expand Down

0 comments on commit 218fad7

Please sign in to comment.