Notes on computers, programming and all the stuff
niedziela, 1 września 2013
PHP quirk
›
PHP is very funny language. Here we are simple class, without constructor: class Foo { } $foo = new Foo($random, $names, $are, $not, $dete...
środa, 13 czerwca 2012
Speeding up LIKE '%text%' queries
›
Recently I did some experminets with n-grams indexes used to speed-up full text search in a plain SQL database. The results are really promi...
2 komentarze:
czwartek, 27 października 2011
itoa on steroids
›
Function itoa implemented with SSE instructions is about 3 times faster then scalar CPU version. Read more .
sobota, 16 kwietnia 2011
Embedded in Academia
›
New link in blogroll -- blog of prof. John Regehr: low level code, bugs in C compilers and beautiful photos.
środa, 13 kwietnia 2011
Regular expressions derivatives
›
Have you ever heard about "regular expression derivatives"? No? Me too. This is very interseting idea, that have pratical usage i...
Traversing DAGs
›
If DAG has got one component, then the simplest traversing method is depth-first-search, which could be easily implemented recursively (us...
sobota, 9 kwietnia 2011
DAWG as dictionary? Yes!
›
If you read Wikipedia entry about DAWG , then you find following sentence: Because the terminal nodes of a DAWG can be reached by multiple ...
‹
›
Strona główna
Wyświetl wersję na komputer