8 Commits

Author SHA1 Message Date
Gabriel Tofvesson
fec11f3a47 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/com/tofvesson/reflection/SafeReflection.java
2016-11-13 15:19:53 +01:00
Gabriel Tofvesson
32c8712607 Major fix
- Fixed fatal but with foreach on ShiftingList
2016-11-13 15:17:06 +01:00
1321d49f8c Major update
- Fixed prominent bugs in ShiftingList
  - Fixed shifting of data in the internal array
  - Fixed retainAll()
  - Fixed add(int, collection)
  - Fixed much more
- Changed name of enqueue() method in WorkerThread to push()
- Moved Enum reflection code to SafeReflection class
- Moved class instantiation (bypass construction) code to SafeReflection and optimized code
- Moved EnumDefinition class into SafeReflection as a static class
2016-11-12 01:28:54 +04:00
Gabriel Tofvesson
3a1b73061e Minor improvements 2016-11-01 21:32:36 +01:00
Gabriel Tofvesson
d7660799be Removed ShiftingMap (project for another day)
Removed Shifting Set
Removed Shifting Entry
Added Shifting List inheriting most of it's functionality from the Shifting Set
Optimized load balancing algorithm to ensure that array isn't unnecessarily resized
Optimized load balancing algorithm by simplifying load calculation
Added new List Iterator in addition to regular Iterator
2016-10-31 22:12:39 +01:00
4b0a7d6627 ShiftingList -> ShiftingMap
ShiftingMap: Fixed bug causing maps added to Map to become misaligned.
2016-10-26 13:21:17 +04:00
Gabriel Tofvesson
294b29d839 - Added ShiftingList
Features:
 - Fixed size
 - Load prediction and memory allocation optimization
   - Uses previous input to estimate future load
   - Allocates memory according to previous input and a user-changeable constant
 - Custom data handling with optimization for this specific case
2016-10-24 21:54:38 +02:00
Gabriel Tofvesson
33e4010db0 Removed bad files 2016-10-23 22:20:05 +02:00