poor performance - don't include unneeded code
moshe weitzman - May 1, 2006 - 05:32
| Project: | Markdown with SmartyPants |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | teradome |
| Status: | closed |
Jump to:
Description
we are including the markdown code on everry request, even though it is used on most pages. remember that drupal's does filter cache. see this change from textile module where it fixed the same problem - http://cvs.drupal.org/viewcvs/drupal/contributions/modules/textile/texti.... just require the files in the function(s) wher eyou need them.

#1
yikes - i meant textile module - http://cvs.drupal.org/viewcvs/drupal/contributions/modules/textile/texti...
#2
Good point, I can move the requires into the _process function.
Will check this in once my machine returns from repairs. :)
#3
#4
Fixed in 4.7. Change has been committed and should appear in 4.7 package shortly.
#5