1
0
Commit Graph

6 Commits

Author SHA1 Message Date
9050d53962 Removed unused functionallity, and associated tests. 2017-04-14 13:09:05 +02:00
87b12e15b2 Fixed issues with analýse_structure.lua
The most significant was a misclassification of tables with number
exclusive keys, with huge jumps between each one.
Example: { 1, [300] = 300 }

This was caused by logic faults in `get_table_info`, which has been fixed.

When solving above issue, a two new issues appeared:

1.	Due to a logic fault, the count of number of elements in a table was wrong,
	leading to issues with tables with boolean keys. This was fixed with simple
	logic changes.
2.	Some very small tables (1 element) would be classified as sets, and thus
	rendered wrongly. This was fixed by adding a MINIMUM_NUMBER_OF_SET_ELEMENTS
	constant.
2017-04-14 13:06:43 +02:00
5bee4a7378 Small holes in sequences will now be filled with nil, rather than triggering a reclassification to PURE_MAP. 2017-04-14 10:56:38 +02:00
0a79b830ba Moved some constants into their own file, more info is stored in l, and improved some marker stuff. 2017-04-03 11:24:51 +02:00
c75ee00f88 Added shortness info-gathering to analyze_structure 2017-01-19 14:23:34 +01:00
e2570ee780 Working on more extensive table info gathering. 2017-01-19 14:02:34 +01:00