[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Comparison of filters in C++ vs Python
From: |
Eric Blossom |
Subject: |
Re: [Discuss-gnuradio] Comparison of filters in C++ vs Python |
Date: |
Fri, 15 Sep 2006 12:18:41 -0700 |
User-agent: |
Mutt/1.5.9i |
On Fri, Sep 15, 2006 at 10:29:36AM -0600, Jim Borynec wrote:
> Hi,
>
> Has anyone determined the basic overhead of a filter?
> I can't help but feel that stringing two filters in a row
> (e.g. one to add a value and the other to multiply something)
> would be less efficient than a single filter which does both operations
> internally.
>
> Does the overhead of a filter basically swamp the computation involved?
>
> I understand the advantages of being able to quickly assemble a complicated
> filter from simpler filters.
>
> Also, has anyone quantified the cost advantage to using C++ (as compared to
> Python).
>
> Is a single Python filter (which does an add and a multiply internally) more
> efficient than two C++ filters strung together?
>
> j.b.
Hi Jim,
I'm not sure that I'm following these questions.
The computationally expensive part of GNU Radio is coded in C++.
Python is used to glue it all together, but is generally out of the
performance critical path.
Eric