[haiku-commits] Re: haiku: hrev49072 - src/apps/showimage

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 21 Apr 2015 13:48:54 +0200

Am 21/04/2015 um 12:23 schrieb Humdinger:

On 21 April 2015 at 10:43, <janus2@xxxxxxxxx> wrote:
e62a6973498c: ShowImage: Set width and height attributes of the showed image.
* Fixes #8745
Nice to see you working on these usability improvements!
Wouldn't it save a few unecessary writes to only write those
attributes if they aren't already set or their value differ? Or would
that be a useless optimization since you'd have to additionally read
and compare those attributes first?

From the POV of the file system, this would make sense, at least.
Not sure how the Media Player does this, either (for the playing time).

Bye,
Axel.

Other related posts: