[Files] PNG icons with WB3.5 & 3.9 | ANN.lu |
Posted on 20-Oct-2003 15:00 GMT by Amon_Re | 34 comments View flat View list |
Elena Novaretti has produced a superb PNG icon patch for OS 3.5/3.9 which lets you use PNG icons, like those in Morph OS.
Download PowerIcons.
(Info found on aw.net)
|
|
List of all comments to this article |
PNG icons with WB3.5 & 3.9 : Comment 22 of 34 | ANN.lu |
Posted by Kjetil on 21-Oct-2003 12:35 GMT | In reply to Comment 20 (Anonymous): Well it quite normal to execute library functions whit inn loops as well as out side loops, so the time gain should be extra on loops if they execute functions whit in the loop.
The library function can contain loops, they do not need to contain loops, library functions on OS level will normal just add data to existing structure of data, this do not require a loop, nor do basic gfx operations, more advanced functions like drawing a line or box will need a loop, it depends on how many times it need to loop as well, so basic my numbers are only as an example of how it can benefit the overall OS performance, by optimizing some thing as frequently used as library API structures.
If you do the calculations, % gain per instructions
1 instruction is removed
x number of instructions
(1 * 100) / x
(1 * 100) / 50 = 2%
(1 * 100) / 100 = 1%
(1 * 100) / 200 = 0.5%
(1 * 100) / 300 = 0,33%
(1 * 100) / 400 = 0,25%
(1 * 100) / 500 = 0,2%
(1 * 100) / 10000 = 0,01%
(1 * 100) / 20000 = 0,005%
(1 * 100) / 30000 = 0,004%
(1 * 100) / 40000 = 0,0025%
(1 * 100) / 50000 = 0,002%
as you can se the number are not linier they curve your number are far to pessimistic for the average % gain per library function, you can probably never calculate the right performance gain as simple as I done whit my example. You need to do real life test to measure the gain, than again we have no version of AmigaOS4.0 whit out the new API so the real life performance gain can never be found! |
|
List of all comments to this article (continued) |
|
- User Menu
-
- About ANN archives
- The ANN archives is powered by #AmigaZeux. It was updated daily (news last: 22-Oct-2004; comments last: 18-May-2005).
ANN.lu was created, previously owned and maintained by Christian Kemp, www.ckemp.com.
- Contribute
- Not possible at this time!
- Search ANN archives
- Advanced search
- Hosting
- ANN.lu was hosted by Dreamhost. Sign up through this link, mention "ckemp" as referrer and he will get a 10% commission on any account you purchase.
Please show your appreciation for any past, present and future work on ANN.lu by making a contribution via PayPal.
|