Bug in wimp.h
Tony van der Hoff
OSLib at mk-net.demon.co.uk
Thu Aug 24 09:02:21 BST 2000
In message <Pine.LNX.4.21.0008231941450.8745-100000 at willow.armlinux.org>
, Chris Rutter <chris at willow.armlinux.org> writes
>
>Is there any analysis of the average space taken by OSLib veeners in
>OSLib-using RISC OS applications? (I'm wondering whether it would be
>worth DLLization.)
Many OSLib functions compile down to two or three lines of assembler. I
would guess the average is about 6, and the biggest ones about 20. I'm
not aware of anyone having done any serious analysis of application
code, and indeed, it would be rather difficult to formulate a 'standard'
environment.
I believe the overhead of interfacing to a shared library would outweigh
any potential size benefits, and would certainly slow things down. The
shared library would have to contain all the OSLib veneers, most
applications would only use a tiny common subset, thus wasting a
tremendous amount of space. Not a good plan, IMHO.
--
Tony van der Hoff | Mailto:tony at mk-net.demon.co.uk
| Mailto:avanderhoff at iee.org
Buckinghamshire, England | http:www.mk-net.demon.co.uk
More information about the oslib-user
mailing list