mercury-hpc / mercury

Mercury is a C library for implementing RPC, optimized for HPC.
http://www.mcs.anl.gov/projects/mercury/
BSD 3-Clause "New" or "Revised" License
164 stars 60 forks source link

hg_proc size pass #90

Open JohnPJenkins opened 8 years ago

JohnPJenkins commented 8 years ago

Was thinking about the proc issues talked about in #79 and had the following idea:

(the decode path would just need to track whether eager mode was used and otherwise be unchanged I think...)

There's a few benefits to this:

Is this a reasonable approach?

soumagne commented 8 years ago

Sorry for not responding earlier, that's interesting I like the idea. Although that's still 2 passes :) Yes the proc component needs to be improved to get rid of the if size etc as much as we can I think.