Removed timing examples (not reliable)
Please merge into release
This commit is contained in:
parent
15f48a7b03
commit
599dda4745
|
@ -19,19 +19,18 @@
|
|||
@doc-apply[plt-logo]{
|
||||
Returns the PLT logo, rendered on clear glass and blue metal by the ray tracer that renders icons.
|
||||
|
||||
@examples[#:eval logos-eval (plt-logo)]
|
||||
|
||||
A 256×256 (default-size) rendering is compiled into the @racketmodname[images/logos] module using @racket[compiled-bitmap], meaning that constructing the logo at that size and smaller is cheap.
|
||||
In fact, constructing the logo at the default size is essentially free:
|
||||
@interaction[#:eval logos-eval
|
||||
(time (plt-logo))
|
||||
(time (plt-logo 128))
|
||||
(time (plt-logo 257))]
|
||||
In fact, constructing the logo at the default size is essentially free because it does not need to be downscaled.
|
||||
}
|
||||
|
||||
@doc-apply[planet-logo]{
|
||||
Returns an unofficial PLaneT logo. This is used as the PLaneT icon when DrRacket downloads PLaneT packages.
|
||||
|
||||
@examples[#:eval logos-eval
|
||||
(planet-logo)
|
||||
(planet-logo (default-icon-height))]
|
||||
|
||||
As with the @racket[plt-logo], a default-size rendering is compiled into the @racketmodname[images/logos] module for performance reasons.
|
||||
@interaction[#:eval logos-eval
|
||||
(time (planet-logo))
|
||||
(planet-logo (default-icon-height))]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user