compiler.tree.propagation.transforms: faster H{ } and HS{ } clone.
parent
1cfcf39bda
commit
47a0ebcc99
|
@ -9,7 +9,7 @@ math.integers.private layouts math.order vectors hashtables
|
||||||
combinators effects generalizations sequences.generalizations
|
combinators effects generalizations sequences.generalizations
|
||||||
assocs sets combinators.short-circuit sequences.private locals
|
assocs sets combinators.short-circuit sequences.private locals
|
||||||
growable stack-checker namespaces compiler.tree.propagation.info
|
growable stack-checker namespaces compiler.tree.propagation.info
|
||||||
hash-sets ;
|
hash-sets arrays hashtables.private ;
|
||||||
FROM: math => float ;
|
FROM: math => float ;
|
||||||
FROM: sets => set members ;
|
FROM: sets => set members ;
|
||||||
IN: compiler.tree.propagation.transforms
|
IN: compiler.tree.propagation.transforms
|
||||||
|
@ -156,8 +156,8 @@ IN: compiler.tree.propagation.transforms
|
||||||
\ clone [
|
\ clone [
|
||||||
in-d>> first value-info literal>> {
|
in-d>> first value-info literal>> {
|
||||||
{ V{ } [ [ drop { } 0 vector boa ] ] }
|
{ V{ } [ [ drop { } 0 vector boa ] ] }
|
||||||
{ H{ } [ [ drop 0 <hashtable> ] ] }
|
{ H{ } [ [ drop 0 0 8 ((empty)) <array> hashtable boa ] ] }
|
||||||
{ HS{ } [ [ drop 0 <hash-set> ] ] }
|
{ HS{ } [ [ drop 0 0 4 ((empty)) <array> hash-set boa ] ] }
|
||||||
[ drop f ]
|
[ drop f ]
|
||||||
} case
|
} case
|
||||||
] "custom-inlining" set-word-prop
|
] "custom-inlining" set-word-prop
|
||||||
|
|
Loading…
Reference in New Issue