[Xorp-hackers] More ideas for xorp code size improvements.

saurabh saurabh.pandya at elitecore.com
Wed Apr 14 22:08:57 PDT 2010


On 04/13/2010 10:53 PM, Ben Greear wrote:
>
> The callback logic seems to pass strings by copy instead of
> by reference.  I think you can gain some improvements in
> code size, and definitely gain RAM & performance improvements
> by changing as many of these as possible to 'const string&'.
>
> This might require hacking the logic that generates the XRL
> code, so it may not be trivial...I haven't looked in any
> detail yet.
>
Thanks Ben, Well I will try to look in to this , I think you are talking
about perl scripts
within xrl/scripts directory, [clnt-gen  skel-gen  tgt-gen 
thrift-clnt-gen  thrift-gen  thrift-tgt-gen]
is it?

-
Thanks,
Saurabh



More information about the Xorp-hackers mailing list