ToDataTable performance #831
thehill383
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Apologies if this is vague, i am really struggling and looking for any help i can get.
i want to build an html table generator for IEnumerable, similar to LINQPad Dump, i am unable to use LINQPAD Dump at runtime, it is only allowed in debug
everything that i try seems to suffer from really bad performance issues probably due to the use of reflection.
I use MoreLINQ ToDataTable a lot but this wont work when a particular property is a collection, i need to be able to create nested html tables in the way that LINQPad Dump does, so what i want to do is build on top of ToDataTable and build the HTML table directly, and in the process handle properties that are collections
If i extract ToDataTable.cs and create an extension in my own project, then the performance is nothing like it is if i run it from MoreLINQ.
I realise i am giving absolutely nothing in the way of examples of what i am doing, but i wonder if you have any suggestions to what i am doing wrong if i try to create my own extension.
Beta Was this translation helpful? Give feedback.
All reactions