[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: icarus verilog, svector question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joshua Boyd wrote:
| In svector.h, there is a specialization:
| inline svector<string>::svector<string>(unsigned size)
|
| How mad is the speed hit from leaving this out?
|
| The reason I ask is because doing specialization in this manner is
| non-standard.  I believe it was at one time common, but it's use has
| been removed from the standard.  It works for GCC, but it fails for
| SunStudio and MIPSpro, and the chances are it would also fail for xlc.
| If it is a big performance gain, I'll rewrite it, but if it isn't, I'd
| be happy to leave it out.

That specialization is there not for speed but for functionality.
That case is only still used in PUdp.h. It may be possible to
remove those last vestiges from the source.
- --
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
http://www.icarus.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBEuAOrPt1Sc2b3ikRAp9yAKC1CSvl+ztuGRw5YGO+Kg3oHNHTnQCfSQNR
wJfEPqqo7+LxpPtdgD4TEwI=
=qaI7
-----END PGP SIGNATURE-----