I found iKnow via Nicole’s blog. I’m currently having a play round with it, it seems like a neat idea and I’m having fun with it.
Posts tagged Geek
Embed a Book
I thought this was kinda cool ( I chose this book because it has my dad in it)
Related Posts:
A geeky way to spend your lunch break
So I spent 20 mins whacking some caching in around the _build_langauges_arrayref subroutine in C4::Languages in Koha.
Before and After. Ill take that as a win. All that needs to be done now is add code to the script that handles updating the language syspref, so that it clears the cache when its changed.
Related Posts:
Koha profiling
So far ive only profiled opac-search.pl and opac-main.pl, the results are here. From them I can see doing some caching in the C4::Languages module might speed things up. If you look here you can see its doing a lot of work, and it does this work for each page. So if we cache the data structure resulting from the build_langauges_arrayref, and just return that in the subsequent calls, we should win some decent performance.
Ill work on that tomorrow night, and post the new profiles
Related Posts:
More profiling fun
Earlier this year I did a quick little post about profiling the koha code . And I noticed today that Devel::NYTProf (which I used) has been updated, and now has a module for use under mod_perl. So that’s my next mission, once I shake off this cold.




