<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div style="color: rgb(33, 33, 33);">
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><span style="font-size: 12pt;">> Looks like these are all just function pointers (including the last one, actually) - would be more efficient, probably, to use a map to function pointer, instead of std::function, to > avoid all the
 extra std::function overhead?</span><br>
<div>><br>
> (also, you might be able to initialize this with something like: Cmd({{"Entry", &ScriptParser::readEntry}, {"EXTERN", ...}, ...}) in the init list, which might be a little more terse)<br>
</div>
<div><br>
</div>
<div>Hi David,<br>
</div>
<div><br>
</div>
<div><a href="http://reviews.llvm.org/D17499">http://reviews.llvm.org/D17499</a>​ implements your suggestion.<br>
</div>
<div><br>
</div>
<div>George.<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>