SourceForge logo
SourceForge logo
Menu

[matplotlib-devel] cxx extension building

From: John H. <jdh...@ac...> - 2004年04月30日 22:46:14
I just finished a major rewrite of backend agg using the pycxx
extension tools. Last week I presented weave to a CS class that I'm
taking, and encountered cxx (which weave uses). I had seen this long
ago, but hadn't looked closely at it since.
Given the memory leak in agg that was discovered on matplotlib-users
last week, I decided it would be easier and cleaner to use some good
extension building code rather than hunt it down. The result is a
much cleaner and readable backend_agg. There may be some additional
small leaks to clean up (eg in image or ft2font) but if so they are
likely not major. I was able to generate 2000 figures in a test run
with only a small increase in memory (4% -> 8% on my system). As I
get time I hope to do the image module and/or backend_gtkagg and/or
ft2font.
In any case CXX is very nice - it's committed to CVS - you may want to
test build on your platforms of choice.
Cheers,
John Hunter

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /