'grep' is very slow when using it in a UTF-8 mode, specially for a large text file. However, it is fast if using 'C' mode. Use the command 'locale' to check the variable of 'LC_ALL'. Then
export LC_ALL="C"
(from http://tdas.wordpress.com/2008/02/03/speed-up-grep)
I tested it. The "C" mode is faster 50 times than the regular mode!
Showing posts with label fast. Show all posts
Showing posts with label fast. Show all posts
Tuesday, September 16, 2008
Linux:shell:command: speed up 'grep'
Wednesday, June 18, 2008
Software: Opera
Firefox released the version of 3.0, however, some favorite add-on are not avaible yet in the mean time. So currently I may not use firefox 3.0. However, a good alternate is opera. Actually I started to use opera since its version of 3.0, now the opera is pretty matual and extremely fast.
At the first, I didn't find how to find or search text in the page what you are browsering, which is not so convenient. Use ctrl+f just actives a window to allow you to search. I want a search function like one in Firefox. Yes, I just find it: use . to active it!
Subscribe to:
Posts (Atom)
