[bind10-dev] python bindings
Francis Dupont
fdupont at isc.org
Thu Dec 17 15:42:13 UTC 2009
> Yes, we'd like to avoid the in-house approach. Sadly the C++ STL has no
> hash built in, so may I humbly suggest we use Boost unless there is some
> compelling reason not to?
>
> http://bytes.com/topic/c/answers/630022-stl-hash-function-where-header
=> IMHO jhash is technically better (at least its author is known to
have done some research about hash functions).
> This makes sense to me. We shouldn't allow objects to be instantiated
> that make no sense. :)
=> i.e., names to Name("") (:-)? As I explained for python (or any
language without overloading or where overloading is considered harmful)
we need either a "main" constructor or an initial "acceptable" object.
In current Name C++ class we have no main constructors (two candidates)
and a buggy initial object: this has to be fixed at the benefit of
both C++ and python (so now I wait for the new code).
Thanks
Francis Dupont <fdupont at isc.org>
PS: you kept some not ASCII character and your stupid MUA encoded your
message...
X-Mailer: Evolution 2.28.1
^^^^^^^^^ MUA
Content-Type: text/plain; charset="utf-8"
^^^^^ oh no, want ASCII or Latin 1 / 15
Content-Transfer-Encoding: base64
^^^^^^ not funny and even worse than qp
More information about the bind10-dev
mailing list