| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
multithreading cases
|
| |
|
|
|
|
| |
(This should not cause any behavioral changes)
|
|
|
|
| |
Issue last seen with NB 4644 on 2016-01-21. Seems to be fixed.
|
|
|
|
|
| |
Experiment with #2163 (unloadedColumns not loaded)
This commit may cause performance issues for some users - please file a bug.
|
| |
|
| |
|
|
|
|
| |
Replaced some (range.location + range.length) with NSMaxRange(range)
|
|
|
|
|
| |
Take this commit as a proposal to formalize our existing "[x release], x = nil;" convention by introducing a macro for it.
Feel free to revert this commit if you see issues with the approch or implementation.
|
|
|
|
|
| |
Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals.
Also replaced some TRUE/FALSE with their YES/NO counterparts.
|
| |
|
|
|
|
| |
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)
|