On Saturday, August 15, 2015 at 11:56:22 AM UTC-7, Laura Creighton wrote:
> If the problem is that Python is using too much memory, then PyPy may
> be able to help you.  PyPy is an alternative implementation of Python,
> and by defaiult uses a minimark garbage collector.
> https://pypy.readthedocs.org/en/release-2.4.x/garbage_collection.html
> 
> You will have to write your own bindings for the CPLEX C library, though,
> using cffi. http://cffi.readthedocs.org/en/latest/overview.html  (since
> the bindings you have assume the CPython ref counting gc).
> 
> But if your C program is itself using too much memory, then this probably
> won't help.
> 
> Discuss this more on pypy-...@python.org or the #pypy channel on freenode.
> People on pypy-dev would appreciate not getting libreoffice spreadsheet
> attachments but just the figures as plain text.
> 
> Laura

Hi, Laura, 
Thank you for the advice. I see that some people also mention that PyPy may 
save some speed and memory than CPython. But since I am working on an 
optimization problem, I wonder whether PyPy would support NumPy and Scipy. In 
which progress have this integration been done?
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to