So it seems I really learned something useful during my first CS year...

I have reworked the search function, it now uses 'binary searching'. This greatly reduces the search times. It needs some debugging, but the first results seem promising. I have also changed the array loading code, it should load faster this way (due to the way arrays are handled internally). The file size is about 56kB (which is just over twice the size of the PHP main page, without images).

You can see the result at:

[ http://lumumba.luc.ac.be/cheezy/misc/php/quickref_bs.html ]

I'm not saying this should go on the main site, but if I would have to choose between a swf and this js solution, I would chose JavaScript.

Greetings,

Jan Fabry

Reply via email to