further improvements in reducing repeated imports
parent
382023f61f
commit
0d0c67f75e
@ -0,0 +1,16 @@
|
||||
#lang racket
|
||||
|
||||
;; These are separated from main.rkt as a performance improvement:
|
||||
;; so they can be imported into the render.rkt namespace
|
||||
;; and cached for the benefit of the render eval function.
|
||||
|
||||
|
||||
(require racket/list)
|
||||
(require (planet mb/pollen/tools) (planet mb/pollen/main-helper))
|
||||
(require (only-in (planet mb/pollen/ptree-decode) ptree-source-decode))
|
||||
(require (only-in (planet mb/pollen/predicates) ptree?))
|
||||
|
||||
(provide (all-from-out
|
||||
racket/list
|
||||
(planet mb/pollen/tools) (planet mb/pollen/main-helper)
|
||||
(planet mb/pollen/ptree-decode)(planet mb/pollen/predicates)))
|
@ -0,0 +1,14 @@
|
||||
#lang racket
|
||||
|
||||
;; These are separated from main-preproc.rkt as a performance improvement:
|
||||
;; so they can be imported into the render.rkt namespace
|
||||
;; and cached for the benefit of the render eval function.
|
||||
|
||||
(require (only-in (planet mb/pollen/readability) ->list)
|
||||
(only-in (planet mb/pollen/tools) trim)
|
||||
(only-in (planet mb/pollen/predicates) whitespace?))
|
||||
|
||||
(provide (all-from-out
|
||||
(planet mb/pollen/readability)
|
||||
(planet mb/pollen/tools)
|
||||
(planet mb/pollen/predicates)))
|
Loading…
Reference in New Issue