Releases: dipterix/filearray
Releases · dipterix/filearray
Filearray 0.1.6
Major changes:
- Removed
c++11from system requirement andMakevars - Used
TinyThreadsinstead ofOpenMPto get parallel working onOSX - Added
as_filearraymethod, and support optionalfloat - Allows user-defined temporary file array path
- Added array proxy class, allowing arrays to lazy-evaluate simple operators (Thank @chrisdane, #5)
- Used
fastmapto avoid environment look-up - Disabled single indexing
Minor changes:
fa_eval_opsallows dimension names- Larger default buffer size to allow
2^20in single partition
Bug fixes:
- Fixed
fmapissues, using better guesses for default.input_size - Fixed a memory bug caused when partition margin has elements greater than 1 and when
FARR_subset_sequentialis used - Fixed
endianissue onbig-endianplatforms (Thank @barracuda156, #7)
Filearray 0.1.5
- Fixed a bug when trying to read array data sequentially. The bug is caused by buffer size being greater than the array length, making in a pointer that controls the partition number exceed the end of vector, resulting in undefined behavior. The functions affected are:
fmap,fmap2. The impact is minor. The bug has been fixed and passedvalgrindmemory check.
Filearray 0.1.4
- Fixed a bug when allocated memory is one byte short than requested. The bug would crash R when triggered in certain cases.
- Removed limit to the maximum number of partitions when writing. The previous implementation creates and opens related file descriptors all at once before writing. This setup will raise errors when the number of connections reach to certain limit, often defined by the operating systems. This update only opens the connection on demand. The performance might be impacted when writing to disk, but in return, the program will be more robust
- Fixed
subsetfunction environment not resolved correctly when using formula - Added
filearray_load_or_createas an alternative tofilearray_checkloadby automatically replace existing obsolete array files if the headers, dimensions, or data types don't match. Alsoon_missingargument is provided to allow array initialization if new array is created.
Filearray 0.1.3
- Automatically detect whether symbolic-link works and show warnings
- Warnings can be suppressed
- Allow extra headers to be set in
metafile - Added header signature method
- Fixed symbolic-link issues on
Windowswhen partition sizes are 0 - Added check-load function
filearray_checkloadto validate header - Fixed collapse method when
dimnamesare set - Fixed an unprotected variable in
C++code filearray_bindcan use cache if the header signatures agreefilearray_bindcan choose to force overwrite- Added package
digesttoImports - Fixed a typo and several small bugs
Filearray 0.1.2
- Removed
flushin saving data to let system decide when to flush to hard drive - Allowed array to expand along the partition margin
- Fixed dimension name getting dropped under certain situations
- Use 2 cores by default when
R CMD checkis detected
Full Changelog here
Filearray 0.1.1
- Added
OpenMPflag in theMakeVars - Fixed critical bugs that could cause
segfaults - Can store
complexandfloatdata types - Re-implemented read/write functions to use memory map
- Allowed
dimnamesto be set - Added generics
subsetto subset usingdimnames - Added vignette to compare performance
- Added speed comparisons in
README.md - Added
collapseto calculate marginal summation with little memory overhead - Added
fmap,fmap2to apply functions to one or multiple file arrays with little memory overhead (also very fast) - Fixed 'unprotected' issues warned by
rchk