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

  • From: Humdinger <humdingerb@xxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 21 Apr 2015 12:23:05 +0200

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?

Regards,
Humdinger

--
Did you know:
If half the Haiku supporters at http://www.goodsearch.com
made 10 searches a day, we could have two fulltime devs.

Other related posts: