Download & Extend

poor performance - don't include unneeded code

Project:Markdown with SmartyPants
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:teradome
Status:closed (fixed)

Issue Summary

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.

Comments

#1

Title:poor perforance - don't include unneeded code» poor performance - don't include unneeded code

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

Assigned to:Anonymous» teradome

#4

Status:active» fixed

Fixed in 4.7. Change has been committed and should appear in 4.7 package shortly.

#5

Status:fixed» closed (fixed)
nobody click here