[Gambas-devel] About gb.adt (2)

Emil Lenngren emil.lenngren at ...176...
Fri Aug 24 16:01:55 CEST 2012


Haha. I will not force you. But what's the problem? Everybody has libstdc++
on their computer. Many other components like gb.qt4, gb.image.effect
depend on libstdc++.

/Emil

2012/8/24 Benoît Minisini <gambas at ...1...>

> Le 24/08/2012 15:45, Emil Lenngren a écrit :
> > Hmm.. Red-black trees...
> > I don't know how much you guys like C++, but why not simply make a
> > wrapper around std::set<GB_VARIANT_VALUE>?
> >
> > std::set is fast and reliable. There would be no memory overhead for
> > tree object and tree nodes compared to if you write your own. The code
> > is already written.
> > The only drawback I see is that you have to link to libstdc++. On the
> > other hand, if you write your own tree, I think the binary code size
> > will be larger because much of the stuff of std::set is already in the
> > libstdc++.so-file.
> >
> > /Emil
> >
>
> Noooo... please, if possible, no dependency on the C++ library!
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20120824/c280c76d/attachment.html>


More information about the Devel mailing list