[llvm-dev] TableGen question

Neil Nelson via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 7 11:36:14 PDT 2020


How many values are expected?

Neil Nelson

On 10/6/20 5:54 PM, Paul C. Anagnostopoulos via llvm-dev wrote:
> A question for all you TableGen aficionados:
>
> Does anyone know why the collection of RecordVal field values stored in a Record are represented by a SmallVector rather than some sort of map? This means that every time a record field is looked up by name, a linear search is performed.
>
> Is it a question of RAM usage?
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201007/4fef65c7/attachment.html>


More information about the llvm-dev mailing list