Changeset 180 for trunk/thune/scripts
- Timestamp:
- 06/10/06 03:12:25 (3 years ago)
- Files:
-
- 1 modified
-
trunk/thune/scripts/opcode_ratio.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/scripts/opcode_ratio.t
r179 r180 11 11 dup length? total add :total 12 12 [ 13 firstdup type?.word [13 dup type?.word [ 14 14 block! [calc-ratio] 15 15 paren! [calc-ratio] 16 16 word! [drop words inc :words] 17 opcode! [stack-ops swap find 18 [ops inc :ops] 19 [words inc :words] either 17 opcode! [stack-ops swap find ift (ops inc :ops) 18 words inc :words 20 19 ] 21 20 [drop] 22 21 ] case 23 ] iter22 ] each 24 23 ] 25 24 proc :calc-ratio ; (block -- ) 26 25 27 26 args [ 28 firstload calc-ratio27 load calc-ratio 29 28 files inc :files 30 ] iter29 ] each 31 30 32 31 [
