art with code
2008-11-30
Filezoo, day 18
Today in Filezoo land, wrote a little priority queue for loading big thumbnails first and changed the file hash algo used to generate thumbnail names to MD5(file mtime + file size + first 16k of the file). It runs at a constant 0.2 ms if the file is in page cache. Compare to the previous MD5(file) and its 20 ms runtime for a 1.5 MB file.
Also slapped licenses to the source files. GPL for the app-specific parts, MIT for general use libs.
Then tried to find the source of random startup deadlocks, with no success. I think my, ah, homespun method for disposing dialog windows caused popup menu drawing to break at one point too, but I haven't been able to reproduce it after I cargoculted the code a little.
Oh well. Better go think it through.
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2008
(107)
-
▼
November
(34)
- Filezoo, day 18
- Filezoo, 17.3: image thumbnails
- Filezoo, 17.2: context menu, a bit nicer monitoring
- Filezoo, 17.1: rewrite done-ish
- Filezoo, 16.1: rewrite, dev env screenie
- Filezoo, 15.2: DirStats static rewrite
- Filezoo, day 15: refactoring plan
- Yeah, it's going to be difficult
- Filezoo, day 14
- X application startup times
- More fishes
- Fishes
- Filezoo startup profile
- Filezoo, start of day 13: some timings, thumbnail ...
- Filezoo, day 12: zoom navigation
- Filezoo, day 11: silly icons, less traversal, pare...
- Filezoo, end of day 10 / start of day 11
- Filezoo, day 10 and 2/3: Manual rectangle clipping...
- Filezoo, end of day 9: requirements document, inte...
- Filezoo, start of day 9: more traversal banging, f...
- Filezoo, day 8: Merge of the recursive branch
- Filezoo, day 6
- Filezoo, end of day 5: Context-sensitive zoom, rec...
- Filezoo, start of day 5
- Filezoo, end of day 4: Speed!
- Filezoo: start of day 4
- A small shell script for Googling
- Filezoo, end of day 3: open terminal, threads
- Filezoo, start of day 3: zooming and panning
- Filezoo: end of day 2
- Filezoo: visual du with aspirations towards file m...
- Visual disk usage app using Mono
- A simple C# analog clock with Mono and Cairo
- Black on white desktop theme
-
▼
November
(34)
No comments:
Post a Comment