Create a shared library to optimize space

Bug #590492 reported by Didier Raboud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Lightspark
Fix Released
Wishlist
Unassigned

Bug Description

Hi,

as far as I understand the Cmake buildsystem, there is shared code between lightspark and mozilla-plugin-lightspark. This code could be put in a liblightspark package, then dynamically linked by both lightspark and mozilla-plugin-lightspark. This would reduce the sizes of both binary packages.

Cheers,

OdyX

Revision history for this message
Alessandro Pignotti (a-pignotti) wrote :

PIC code has a performance penalty on x86 (not on amd64). The plugin is of course already PIC, but the standalone version will be probably slower if linked dynamically. I've not yet decided if the space trade off is worth the performance penalty.

Changed in lightspark:
importance: Undecided → Wishlist
Changed in lightspark:
status: New → Fix Committed
Revision history for this message
Didier Raboud (odyx) wrote :

Great thanks !

Changed in lightspark:
milestone: none → lightspark-0.4.2
Changed in lightspark:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.