jscancer

Javascript crap (relatively small)
git clone git://git.codemadness.org/jscancer
Log | Files | Refs | README | LICENSE

commit 85991229595f59cb6f9f5ba2761490f5d7c5e963
parent 7f471d96bbdab4f5ce0605076805f378f730ebe7
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 23 Jul 2026 19:27:48 +0200

datatable: remove TODO

Diffstat:
Ddatatable/TODO | 24------------------------
1 file changed, 0 insertions(+), 24 deletions(-)

diff --git a/datatable/TODO b/datatable/TODO @@ -1,24 +0,0 @@ -- non-lazyload: test performance of filter and sort. -- AJAX example: - - allow simple load from AJAX, make example-ajax.html. - - ajax example use createTextNode (much faster than setting textContent). -- in lazyload render: - - scrolling is broken at the end? - ? use documentfragment to insert rows, should not matter much performance-wise since its only a few rows? - - use childNodes, not children? NOTE: may contain textNode? -- lazyload: render function: set height each time only when nrows changed, it will cause a reflow? -- lazyload: render function: nrows can be < 0 if data.length = 0 ? might not be an issue. - -? fix margin-right offset for scrollbar when table does not fit on screen (window resize). - - calculate margin-right in javascript (in case of weird-sized scrollbars). -? in IE atleast: table can be sorted before the table is fully parsed which results - in weirdly sorted data, not sure. - -- datatable_data_parse: use childNodes? (faster). - -? optimize table rendering, row creation etc somehow. - - update classlist separately (sort-asc, sort-desc, sort-disabled), prevent recalculating styles. - - https://jakearchibald.com/2013/solving-rendering-perf-puzzles/ and about:tracing - -- benchmark load time, parse time, initialization, sort and filter performance - separately in some way.