Tue, 06 Apr 2004

top

slurping

<<reverse < index > forward>>

I notice that Blosxom uses a variation of the code that perl.com deems inefficient. I wonder if slurping would really speed it up all that much?

Currently, Blosxom (2.0) does something like this:

$fh->open("< $path_file"); chomp($title = <$fh>); chomp($body = join '', <$fh>);

Would it really make any difference to do something like this? (I don't know how to profile things, so maybe someone could teach me how to do test it, or better yet, figure it out for me.)

$fh->open("< $path_file"); chomp($title = <$fh>); { local( $/ ); $body = <$fh>

Just a thought. I found myself doing this as I try to construct a command-line trackback pinger.

What I also want to know regarding Blosxom is whether I can change the entry reading code (which is where the above fragment comes from) completely, and have it slurp XML files and interpolate using XSLT. Another project. Hmmm.

02:04:30 6 Apr 2004 > /computers/perl > permalink > 15 comments

comments

Name/Blog: saleviabuy.com
URL: https://saleviabuy.com/
Title:
Comment/Excerpt: Benzocaine gels and liquids should be used sparingly and only when needed, but not more than four 4 times a day. viagra sample - saleviabuy.com - canadian pharmacy viagra 50 mg

Name/Blog: saleviabuy.com
URL: https://saleviabuy.com/
Title:
Comment/Excerpt: I did just have other labs and a urinalysis done as well. https://saleviabuy.com buy viagra

Name/Blog: miraclevigra.com
URL: https://miraclevigra.com/
Title:
Comment/Excerpt: Viagra cream for sale miraclevigra.com how to buy viagra online canada

Name/Blog: hopeviagrin.com
URL: https://hopeviagrin.com/
Title:
Comment/Excerpt: Sildenafil medication cost https://hopeviagrin.com/ real viagra online canada

Name/Blog: generic viagra for daily use
URL: https://miraclevigra.com/
Title:
Comment/Excerpt: Pharmacy prices for sildenafil https://miraclevigra.com viagra usa

Name/Blog: https://mygoviagar.com/
URL: https://mygoviagar.com/
Title:
Comment/Excerpt: Sildenafil 100mg canadian pharmacy https://mygoviagar.com viagra online purchase usa

Name/Blog: price of viagra in mexico
URL: https://lightvigra.com/
Title:
Comment/Excerpt: Brand viagra without prescription https://lightvigra.com/ best online sildenafil prescription

Name/Blog: mygoviagar.com
URL: https://mygoviagar.com/
Title:
Comment/Excerpt: Sildenafil 100 mg uk mygoviagar.com where can i buy real viagra

Name/Blog: price of viagra per pill
URL: https://mygoviagar.com/
Title:
Comment/Excerpt: Viagra tablets from india mygoviagar.com sildenafil 100mg sale

Name/Blog: where can i get genuine viagra
URL: https://hopeviagrin.com/
Title:
Comment/Excerpt: Pharmacy viagra canada https://hopeviagrin.com/ viagra for women over the counter

Name/Blog: where can i get sildenafil 100mg
URL: https://mygoviagar.com/
Title:
Comment/Excerpt: Buy viagra mexico https://mygoviagar.com sildenafil 680

Name/Blog: can i buy viagra online
URL: https://hopeviagrin.com/
Title:
Comment/Excerpt: Buy brand viagra online hopeviagrin.com buy sildenafil tablets online

Name/Blog: viagra coupon canada
URL: https://lightvigra.com/
Title:
Comment/Excerpt: Generic viagra pharmacy https://lightvigra.com/ sildenafil 50 mg tablet cost

Name/Blog: how to buy viagra cheap
URL: https://mygoviagar.com/
Title:
Comment/Excerpt: Viagra 12.5 mg mygoviagar.com cost of prescription viagra

Name/Blog: best viagra tablets india
URL: https://hopeviagrin.com/
Title:
Comment/Excerpt: Sildenafil 50 mg coupon https://hopeviagrin.com buy viagra via paypal

Comment form

Name:
URL/Email:
[http://... or mailto:you@w...] (optional)
Title:
(optional)
Comments:
Save my Name and URL/Email for next time
To prevent comment spam, please retype the characters in this image
Enter the text here: