-
Notifications
You must be signed in to change notification settings - Fork 0
tgrep
`[[TOC]]
- Interpolation and Binary Search
- Compare between the two
- Output to file
- Intelligent date parsing - e.g. 5 minutes around a range.
- Seamless handling of bzip2/pbzip files
http://stackoverflow.com/questions/744256/reading-huge-file-in-python http://stackoverflow.com/questions/8369175/binary-search-over-a-huge-file-with-unknown-line-length http://stackoverflow.com/questions/4999340/python-random-access-file http://www.gossamer-threads.com/lists/python/python/812644 http://stackoverflow.com/questions/620367/python-how-to-jump-to-a-particular-line-in-a-huge-text-file
http://gitorious.org/bs_grep/ http://serverfault.com/questions/101744/fast-extraction-of-a-time-range-from-syslog-logfile
http://wordaligned.org/articles/binary-search-revisited http://stackoverflow.com/questions/5217650/how-do-i-perform-binary-search-on-a-text-file-to-search-a-keyword-in-python
http://docs.python.org/library/stdtypes.html?highlight=seek#file.seek http://www.wellho.net/resources/ex.php4?item=y110/fff http://learnpythonthehardway.org/book/ex20.html http://www.java2s.com/Tutorial/Python/0240__File/Movearoundwithinthefileusingseek.htm http://www.sthurlow.com/python/lesson10/ http://stackoverflow.com/questions/4999340/python-random-access-file http://www.tutorialspoint.com/python/file_seek.htm
#C++'s Fseek http://www.cplusplus.com/reference/clibrary/cstdio/fseek/
http://stackoverflow.com/questions/6591931/getting-file-size-in-python http://docs.python.org/library/os.html#os.stat