| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
improve #1884 and fix count tracking when removing a single row
|
|
|
|
| |
row count and using for fast bounds checks; this should fix #1884
|
| |
|
| |
|
|
|
|
| |
distinguish from string data of similar content.
|
|
|
|
| |
error, addressing Issue #1783
|
|
|
|
|
|
|
|
|
| |
increases and lower memory usage:
- Add a new SPMySQLStreamingResultStore class to SPMySQL.framework. This class acts as both a result set and a data store for the accompanying data, storing the row information in a custom format in a custom malloc zone.
- Amend SPDataStorage to wrap the new class, so original result information is stored in the one location in the custom format. Any edited information is handled by SPDataStorage for clean separation
- Rework table content and custom query data data stores to use the new class. This significantly speeds up data loading, resulting in faster data loads if they weren't previously network constrained, or lower CPU usage otherwise. The memory usage is also lowered, with the memory overhead for many small cells being enormously reduced.
|
|
|
|
| |
enable some more
|
| |
|
| |
|
| |
|
|
|
|
| |
the storage range
|
|
|
|
| |
favorites (Thanks Hans).
|
|
|
|
| |
source view changes/content view update crashes, and almost certainly memory leaks and other crashes
|
|
|
|
| |
when removing records in a range - seen in Issue #542.
|
|
- SPDataStorage is a class designed for a 2D array of fixed-width data storage, replacing the current method of nested NSMutableArrays. NSFastEnumerator compatible.
- Overall memory overhead for table storage in memory reduced by 1.2-1.4x - this almost gains back the large memory jump seen for 64 bit
- Some operations (adding data, retrieving a single cell's data) are faster than nested NSMutableArrays; some operations (requesting a row as an NSArray) are slightly slower as the data needs to be converted, but overall result is a slight speed gain.
(- Could be used in future to store SQL results in C datatypes, avoiding very high NSObject overhead for numbers and short strings)
|