On Thu, 31 May 2007 12:25:17 -0500, Chris Mellon <[EMAIL PROTECTED]> wrote:
> On 31 May 2007 03:45:32 -0700, bullockbefriending bard
> <[EMAIL PROTECTED]> wrote:
>> Thanks this is good news. I think my C/C++ background is sufficient to
>> manage to figure things out if I RTFM carefully.
>>
>> Basic
bullockbefriending bard skrev:
> good point. while i bow to the genius of the folks who invented
> template metaprogramming, the compiler error messages tend to be
> profoundly depressing :). one way or the other, pyrex is something i
> need to learn since i'm now completely enamoured with python
> Are you sure you want an STL container? Since the primary operator
> here is Python, the extra benefits from the STL container over plain C
> arrays isn't as evident.
>
> Pyrex is a good way to write the interface between your C++ code and
> the Python code - it handles the refcounting and boile
On 31 May 2007 03:45:32 -0700, bullockbefriending bard
<[EMAIL PROTECTED]> wrote:
> Thanks this is good news. I think my C/C++ background is sufficient to
> manage to figure things out if I RTFM carefully.
>
> Basically I want to pass in a Python list of integer tuples, create an
> STL container fu
Thanks this is good news. I think my C/C++ background is sufficient to
manage to figure things out if I RTFM carefully.
Basically I want to pass in a Python list of integer tuples, create an
STL container full of equivalent tuples, apply some processor-
intensive algorithm to said list of tuples,
On 26 May 2007 02:19:39 -0700, bullockbefriending bard <[EMAIL PROTECTED]>
wrote:
...
> Essentially, I need to pass a list of 6-tuples containing only
> integers to my new sadly necessary super-fast compiled language
> function which i am not looking forward to writing:
>
> input: [(1,2,3,4,5,6),
thanks. i'll definitely look into this.
On May 28, 10:48 pm, Kay Schluehr <[EMAIL PROTECTED]> wrote:
> On May 26, 11:19 am, bullockbefriending bard <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > I've done all the requisite profiling and thought fairly deeply about
> > the efficiency of my python code, but
On May 26, 11:19 am, bullockbefriending bard <[EMAIL PROTECTED]>
wrote:
> I've done all the requisite profiling and thought fairly deeply about
> the efficiency of my python code, but am still going to have to speed
> up the innermost guts of what I am doing.
>
> Essentially, I need to pass a list
I wonder if Jython might be the answer? Java is going to be faster
than Python for the time-critical part of my program. Does anybody
have experience getting data structures like nested lists / tuples
into a java routine from a running jython program (and then back
again)?
--
http://mail.python.o
thanks! i'll look into this.
On May 27, 5:35 am, Che Guevara <[EMAIL PROTECTED]> wrote:
> On May 26, 11:19 am, bullockbefriending bard <[EMAIL PROTECTED]>
> wrote:
>
> > However, I hope someone reading this will be able to tell me that I'm
> > being a total pessimist and that in fact it isn't very
On May 26, 11:19 am, bullockbefriending bard <[EMAIL PROTECTED]>
wrote:
> However, I hope someone reading this will be able to tell me that I'm
> being a total pessimist and that in fact it isn't very difficult to do
> what I want to do using SWIG. I'm not asking for a complete solution,
> more lik
11 matches
Mail list logo