[maemo-developers] GtkPixbuf from Char buffer
From: gary liquid liquid at gmail.comDate: Thu Oct 16 18:00:05 EEST 2008
- Previous message: GtkPixbuf from Char buffer
- Next message: GtkPixbuf from Char buffer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
i don't mind being wrong :) thanks Eero, it was the principle more than the specifics I was trying to indicate however. On Thu, Oct 16, 2008 at 3:46 PM, Eero Tamminen <eero.tamminen at nokia.com>wrote: > Hi, > > ext gary liquid wrote: > >> have you considered caching the downloaded file to disk and reading from >> there using the standard function? >> >> This would give you the obvious benefit of allowing offline usage and >> faster >> requerying. >> There isn't an infinite amount of memory available and having to download >> images everytime could cause user angst. >> >> I believe /tmp is mapped to real memory and not the flash drive, so would >> not cause real problems and wouldn't be much slower (someone can confirm >> this?) >> > > This is a no-no. The system /tmp is a RAM-disk with 1/2MB max size > and it's used by all applications. It's intended for _small_ (few KB) > temporary files. For larger or more permanent[1] things one should > use $TMPDIR i.e. /var/tmp which is on Flash. > > [1] See the Filesystem Hierarchy Standard: > http://www.pathname.com/fhs/ > > > > Even though it may require a little bit more time to organise a cache file >> plan, it may be worth it in the end? >> > > > - Eero > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20081016/0fd2d8ae/attachment.htm
- Previous message: GtkPixbuf from Char buffer
- Next message: GtkPixbuf from Char buffer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]